Module: ActiveSupport::Cache::NullCoder

Extended by:
NullCoder
Included in:
NullCoder
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/cache.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#dump(entry) ⇒ Object



820
821
822
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/cache.rb', line 820

def dump(entry)
  entry
end

#dump_compressed(entry, threshold) ⇒ Object



824
825
826
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/cache.rb', line 824

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

#load(payload) ⇒ Object



828
829
830
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/cache.rb', line 828

def load(payload)
  payload
end