Module: ActiveRecord::Exnum::ClassMethods

Defined in:
lib/exnum/active_record/exnum.rb

Instance Method Summary collapse

Instance Method Details

#extended(base) ⇒ Object



10
11
12
13
14
# File 'lib/exnum/active_record/exnum.rb', line 10

def extended(base)
  base.class_attribute(:defined_params, instance_writer: false)
  base.defined_params = {}
  super(base)
end