Module: RecordChildren
- Defined in:
- frontend/app/models/mixins/record_children.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 |
# File 'frontend/app/models/mixins/record_children.rb', line 3 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#child_type ⇒ Object
7 8 9 |
# File 'frontend/app/models/mixins/record_children.rb', line 7 def child_type self.class.child_type end |