Module: Representable::Config::InheritMethods
- Included in:
- Representable::Config
- Defined in:
- lib/representable/config.rb
Instance Method Summary collapse
Instance Method Details
#cloned ⇒ Object
49 50 51 |
# File 'lib/representable/config.rb', line 49 def cloned collect { |d| d.clone } end |
#inherit(parent) ⇒ Object
53 54 55 |
# File 'lib/representable/config.rb', line 53 def inherit(parent) push(parent.cloned) end |