Skip to Content Skip to Search

module ActiveSupport::Messages::SerializerWithFallback::MarshalWithFallback

Inherits From

Constants

"\x04\x08"

Public instance methods

Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 67
def _load(dumped)
  Marshal.load(dumped)
end
Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 63
def dump(object)
  Marshal.dump(object)
end
Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 73
def dumped?(dumped)
  dumped.start_with?(MARSHAL_SIGNATURE)
end
Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 59
def format
  :marshal
end

Definition files