Module: Enumerize::Base::ClassMethods::Hook

Defined in:
lib/enumerize/base.rb

Instance Method Summary collapse

Instance Method Details

#inherited(subclass) ⇒ Object


35
36
37
38
# File 'lib/enumerize/base.rb', line 35

def inherited(subclass)
  enumerized_attributes.add_dependant subclass.enumerized_attributes
  super subclass
end