Module: ActiveSupport::Cache::Coders
- Defined in:
- lib/active_support/cache.rb
Overview
:nodoc:
Defined Under Namespace
Modules: Loader, Rails61Coder, Rails70Coder
Constant Summary collapse
- MARK_61 =
The one set by Marshal.
"\x04\b".b.freeze
- MARK_70_UNCOMPRESSED =
"\x00".b.freeze
- MARK_70_COMPRESSED =
"\x01".b.freeze
Class Method Summary collapse
Class Method Details
.[](version) ⇒ Object
839 840 841 842 843 844 845 846 847 848 |
# File 'lib/active_support/cache.rb', line 839 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 |