Method: Aruba::BasicConfiguration#run_before_hook
- Defined in:
- lib/aruba/basic_configuration.rb
#run_before_hook(name, context, *args) ⇒ Object
Run before-hook
133 134 135 136 137 |
# File 'lib/aruba/basic_configuration.rb', line 133 def run_before_hook(name, context, *args) name = format('%s_%s', 'before_', name.to_s).to_sym @hooks.execute(name, context, *args) end |