method
[]
rails latest stable - Class:
ActiveSupport::Messages::SerializerWithFallback
[](format)public
No documentation available.
# File activesupport/lib/active_support/messages/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