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
831 832 833 834 835 836 837 838 839 840 |
# File 'lib/active_support/cache.rb', line 831 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 |