Class: Cucumber::Events::TestRunHookStarted
- Defined in:
- lib/cucumber/events/test_run_hook_started.rb
Instance Attribute Summary collapse
-
#hook ⇒ Object
readonly
Returns the value of attribute hook.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hook) ⇒ TestRunHookStarted
constructor
A new instance of TestRunHookStarted.
Methods inherited from Base
Constructor Details
#initialize(hook) ⇒ TestRunHookStarted
Returns a new instance of TestRunHookStarted.
14 15 16 17 |
# File 'lib/cucumber/events/test_run_hook_started.rb', line 14 def initialize(hook) @hook = hook super() end |
Instance Attribute Details
#hook ⇒ Object (readonly)
Returns the value of attribute hook.
8 9 10 |
# File 'lib/cucumber/events/test_run_hook_started.rb', line 8 def hook @hook end |
Class Method Details
.event_id ⇒ Object
10 11 12 |
# File 'lib/cucumber/events/test_run_hook_started.rb', line 10 def self.event_id :test_run_hook_started end |