Module: ActiveSupport::Cache::NullCoder

Extended by:
NullCoder
Included in:
NullCoder
Defined in:
lib/active_support/cache.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#dump(entry) ⇒ Object



812
813
814
# File 'lib/active_support/cache.rb', line 812

def dump(entry)
  entry
end

#dump_compressed(entry, threshold) ⇒ Object



816
817
818
# File 'lib/active_support/cache.rb', line 816

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

#load(payload) ⇒ Object



820
821
822
# File 'lib/active_support/cache.rb', line 820

def load(payload)
  payload
end