Module: Roda::RodaPlugins::Presenters::ClassMethods
- Defined in:
- lib/roda/plugins/presenters.rb
Instance Method Summary collapse
-
#inherited(subclass) ⇒ Object
Inheritance hook – give subclasses their own presenters ivar.
Instance Method Details
#inherited(subclass) ⇒ Object
Inheritance hook – give subclasses their own presenters ivar.
25 26 27 28 |
# File 'lib/roda/plugins/presenters.rb', line 25 def inherited( subclass ) super subclass.presenter_collection = self.presenter_collection.clone end |