123456789_123456789_123456789_123456789_123456789_

Module: ActiveSupport::Cache::SerializerWithFallback::Marshal71WithFallback

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
Defined in: activesupport/lib/active_support/cache/serializer_with_fallback.rb

Constant Summary

::ActiveSupport::Cache::SerializerWithFallback - Included

SERIALIZERS

Instance Method Summary

Instance Method Details

#_load(dumped)

[ GitHub ]

  
# File 'activesupport/lib/active_support/cache/serializer_with_fallback.rb', line 109

def _load(dumped)
  marshal_load(dumped)
end

#dump(value)

[ GitHub ]

  
# File 'activesupport/lib/active_support/cache/serializer_with_fallback.rb', line 105

def dump(value)
  Marshal.dump(value)
end

#dumped?(dumped) ⇒ Boolean

[ GitHub ]

  
# File 'activesupport/lib/active_support/cache/serializer_with_fallback.rb', line 113

def dumped?(dumped)
  dumped.start_with?(MARSHAL_SIGNATURE)
end