Class: Cucumber::Distrib::Events::TestCaseCreated
- Inherits:
-
BaseTestCaseEvent
- Object
- Event
- BaseTestCaseEvent
- Cucumber::Distrib::Events::TestCaseCreated
- Defined in:
- lib/cucumber/distrib/events.rb
Overview
Object that mimic Cucumber::Event::TestCaseCreated on Leader for reporters.
Instance Attribute Summary collapse
-
#pickle ⇒ Object
readonly
Returns the value of attribute pickle.
Attributes inherited from BaseTestCaseEvent
Instance Method Summary collapse
-
#initialize(event) ⇒ TestCaseCreated
constructor
A new instance of TestCaseCreated.
Methods inherited from Event
Constructor Details
#initialize(event) ⇒ TestCaseCreated
Returns a new instance of TestCaseCreated.
350 351 352 353 |
# File 'lib/cucumber/distrib/events.rb', line 350 def initialize(event) super @pickle = event.pickle end |
Instance Attribute Details
#pickle ⇒ Object (readonly)
Returns the value of attribute pickle.
347 348 349 |
# File 'lib/cucumber/distrib/events.rb', line 347 def pickle @pickle end |