method
[]
v7.1.3.2 -
Show latest stable
- Class:
ActiveSupport::Cache::SerializerWithFallback
[](format)public
No documentation available.
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 9
def self.[](format)
if format.to_s.include?("message_pack") && !defined?(ActiveSupport::MessagePack)
require "active_support/message_pack"
end
SERIALIZERS.fetch(format)
end