module ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallback
Inherits From
Public instance methods
Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 125
def _load(dumped)
ActiveSupport::MessagePack.load(dumped)
end
Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 121
def dump(object)
ActiveSupport::MessagePack.dump(object)
end
Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 129
def dumped?(dumped)
available? && ActiveSupport::MessagePack.signature?(dumped)
end
Source code GitHub
# File activesupport/lib/active_support/messages/serializer_with_fallback.rb, line 117
def format
:message_pack
end