Class: ActiveRecord::Type::AdapterSpecificRegistry

Inherits:
ActiveModel::Type::Registry show all
Defined in:
activerecord/lib/active_record/type/adapter_specific_registry.rb

Instance Method Summary collapse

Methods inherited from ActiveModel::Type::Registry

#initialize, #initialize_dup, #lookup, #register

Constructor Details

This class inherits a constructor from ActiveModel::Type::Registry

Instance Method Details

#add_modifier(options, klass, **args) ⇒ Object


9
10
11
# File 'activerecord/lib/active_record/type/adapter_specific_registry.rb', line 9

def add_modifier(options, klass, **args)
  registrations << DecorationRegistration.new(options, klass, **args)
end