123456789_123456789_123456789_123456789_123456789_

Module: ActiveSupport::Cache::SerializerWithFallback::PassthroughWithFallback

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(entry)

[ GitHub ]

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

def _load(entry)
  entry
end

#dump(entry)

[ GitHub ]

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

def dump(entry)
  entry
end

#dump_compressed(entry, threshold)

[ GitHub ]

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

def dump_compressed(entry, threshold)
  entry.compressed(threshold)
end

#dumped?(dumped) ⇒ Boolean

[ GitHub ]

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

def dumped?(dumped)
  dumped.is_a?(Cache::Entry)
end