Method: Representable::ClassMethods#inherit_module!
- Defined in:
- lib/representable.rb
#inherit_module!(parent) ⇒ Object
Gets overridden by Decorator as inheriting representers via include in Decorator means a bit more work (manifesting).
97 98 99 |
# File 'lib/representable.rb', line 97 def inherit_module!(parent) representable_attrs.inherit!(parent.representable_attrs) # Module just inherits. end |