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