方法
包含的模块
常量
MARSHAL_SIGNATURE | = | "\x04\x08" |
实例公共方法
_load(dumped) 链接
来源: 显示 | 在 GitHub 上
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 67 def _load(dumped) Marshal.load(dumped) end
dump(object) 链接
来源: 显示 | 在 GitHub 上
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 63 def dump(object) Marshal.dump(object) end
dumped?(dumped) 链接
来源: 显示 | 在 GitHub 上
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 73 def dumped?(dumped) dumped.start_with?(MARSHAL_SIGNATURE) end
format() 链接
来源: 显示 | 在 GitHub 上
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 59 def format :marshal end