module ActiveSupport::Cache::SerializerWithFallback::PassthroughWithFallback
Inherits From
Public instance methods
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 57
def _load(entry)
entry
end
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 49
def dump(entry)
entry
end
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 53
def dump_compressed(entry, threshold)
entry.compressed(threshold)
end
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 61
def dumped?(dumped)
dumped.is_a?(Cache::Entry)
end