Class: LabelWeaver::Hooks
- Inherits:
-
Object
- Object
- LabelWeaver::Hooks
- Defined in:
- lib/label_weaver/hooks.rb
Instance Method Summary collapse
Instance Method Details
#run(*path) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/label_weaver/hooks.rb', line 5 def run(*path) configuration.hooks.dig(*path)&.each do |hook| logger.any "$> #{hook}" system(hook) end end |