Module: ActiveSupport::Cache::MemCacheStore::Coders
- Defined in:
- 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
171 172 173 174 175 176 177 178 179 180 |
# File 'lib/active_support/cache/mem_cache_store.rb', line 171 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 |