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