method

[]

rails latest stable - Class: ActiveSupport::Cache::MemCacheStore::Coders

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

[](version)
public

No documentation available.

# File activesupport/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