module ActiveSupport::Cache::SerializerWithFallback::MessagePackWithFallback
Inherits From
Public instance methods
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 126
def _load(dumped)
ActiveSupport::MessagePack::CacheSerializer.load(dumped)
end
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 122
def dump(value)
ActiveSupport::MessagePack::CacheSerializer.dump(value)
end
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 130
def dumped?(dumped)
available? && ActiveSupport::MessagePack.signature?(dumped)
end