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



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

def dump(entry)
  entry
end

#dump_compressed(entry, threshold) ⇒ Object



824
825
826
# File 'lib/active_support/cache.rb', line 824

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

#load(payload) ⇒ Object



828
829
830
# File 'lib/active_support/cache.rb', line 828

def load(payload)
  payload
end