123456789_123456789_123456789_123456789_123456789_

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

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