Module: ActiveSupport::Cache::NullCoder

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#dump(entry) ⇒ Object



918
919
920
# File 'activesupport/lib/active_support/cache.rb', line 918

def dump(entry)
  entry
end

#dump_compressed(entry, threshold) ⇒ Object



922
923
924
# File 'activesupport/lib/active_support/cache.rb', line 922

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

#load(payload) ⇒ Object



926
927
928
# File 'activesupport/lib/active_support/cache.rb', line 926

def load(payload)
  payload
end