method

lookup

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Registry
lookup(symbol, *args) public

No documentation

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

Hide source
# File activemodel/lib/active_model/type/registry.rb, line 23
      def lookup(symbol, *args)
        registration = registrations[symbol]

        if registration
          registration.call(symbol, *args)
        else
          raise ArgumentError, "Unknown type #{symbol.inspect}"
        end
      end
Register or log in to add new notes.