Module: ActiveSupport::Cache::MemCacheStore::Coders

Defined in:
activesupport/lib/active_support/cache/mem_cache_store.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Loader, Rails61Coder, Rails70Coder

Class Method Summary collapse

Class Method Details

.[](version) ⇒ Object


172
173
174
175
176
177
178
179
180
181
# File 'activesupport/lib/active_support/cache/mem_cache_store.rb', line 172

def [](version)
  case version
  when 6.1
    Rails61Coder
  when 7.0
    Rails70Coder
  else
    raise ArgumentError, "Unknown ActiveSupport::Cache.format_version #{Cache.format_version.inspect}"
  end
end