Method: ActiveSupport::Cache::Coder#dump

Defined in:
lib/active_support/cache/coder.rb

#dump(entry) ⇒ Object



14
15
16
17
18
# File 'lib/active_support/cache/coder.rb', line 14

def dump(entry)
  return @serializer.dump(entry) if @legacy_serializer

  dump_compressed(entry, Float::INFINITY)
end