method

[]

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: SerializerWithFallback
[](format) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.