Skip to Content Skip to Search

module ActiveSupport::Cache::SerializerWithFallback::Marshal71WithFallback

Inherits From

Constants

"\x04\x08".b.freeze

Public instance methods

Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 109
def _load(dumped)
  marshal_load(dumped)
end
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 105
def dump(value)
  Marshal.dump(value)
end
Source code GitHub
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 113
def dumped?(dumped)
  dumped.start_with?(MARSHAL_SIGNATURE)
end

Definition files