Module: Datory::Attributes::DSL::ClassMethods
- Defined in:
- lib/datory/attributes/dsl.rb
Overview
rubocop:disable Metrics/ModuleLength
Instance Method Summary collapse
Instance Method Details
#inherited(child) ⇒ Object
12 13 14 15 16 |
# File 'lib/datory/attributes/dsl.rb', line 12 def inherited(child) super child.send(:collection_of_attributes).merge(collection_of_attributes) end |