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