Skip to Content Skip to Search

module ActiveSupport::Cache::SerializerWithFallback::Marshal61WithFallback

Inherits From

Constants

MARSHAL_SIGNATURE

"\x04\x08".b.freeze

Public instance methods

dump(entry)

Permalink
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 72
def dump(entry)
  Marshal.dump(entry)
end

dump_compressed(entry, threshold)

Permalink
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 76
def dump_compressed(entry, threshold)
  Marshal.dump(entry.compressed(threshold))
end

dumped?(dumped)

Permalink
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 83
def dumped?(dumped)
  dumped.start_with?(MARSHAL_SIGNATURE)
end

Definition files