Method: AutomationObject::State::Hook#after
- Defined in:
- lib/automation_object/state/hook.rb
#after ⇒ Boolean?
Runs the after hook
42 43 44 45 46 47 48 49 |
# File 'lib/automation_object/state/hook.rb', line 42 def after return nil if blue_prints.after.empty? hook_action = HookAction.new(driver, blue_prints.after, :hook_action, self, location + '[hook_action]') hook_action.run end |