Class: Cucumber::Distrib::Events::GherkinSourceRead
- Defined in:
- lib/cucumber/distrib/events.rb
Overview
Object that mimics Cucumber::Event::GherkinSourceRead on Leader for reporters.
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(event) ⇒ GherkinSourceRead
constructor
A new instance of GherkinSourceRead.
Methods inherited from Event
Constructor Details
#initialize(event) ⇒ GherkinSourceRead
Returns a new instance of GherkinSourceRead.
185 186 187 188 189 |
# File 'lib/cucumber/distrib/events.rb', line 185 def initialize(event) super() @path = event.path @body = event.body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
183 184 185 |
# File 'lib/cucumber/distrib/events.rb', line 183 def body @body end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
183 184 185 |
# File 'lib/cucumber/distrib/events.rb', line 183 def path @path end |