Module: Roda::RodaPlugins::BeforeHook::ClassMethods
- Defined in:
- lib/roda/plugins/_before_hook.rb
Instance Method Summary collapse
-
#include(*a) ⇒ Object
Rebuild the _roda_before method whenever a plugin might have added a roda_before* method.
Instance Method Details
#include(*a) ⇒ Object
Rebuild the _roda_before method whenever a plugin might have added a roda_before* method.
23 24 25 26 27 |
# File 'lib/roda/plugins/_before_hook.rb', line 23 def include(*a) res = super def_roda_before res end |