跳至内容 跳至搜索
方法
#
D
F
包含的模块

常量

MARSHAL_SIGNATURE = "\x04\x08"
 

实例公共方法

_load(dumped)

# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 67
def _load(dumped)
  Marshal.load(dumped)
end

dump(object)

# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 63
def dump(object)
  Marshal.dump(object)
end

dumped?(dumped)

# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 73
def dumped?(dumped)
  dumped.start_with?(MARSHAL_SIGNATURE)
end

format()

# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 59
def format
  :marshal
end