Class: ActiveRecord::Type::AdapterSpecificRegistry

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

Instance Method Summary collapse

Instance Method Details

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



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

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