Class: Cucumber::Distrib::Events::GherkinSourceParsed
- Defined in:
- lib/cucumber/distrib/events.rb
Overview
Object that mimics Cucumber::Event::GherkinSourceParsed on Leader for reporters.
Instance Attribute Summary collapse
-
#gherkin_document ⇒ Object
readonly
Returns the value of attribute gherkin_document.
Instance Method Summary collapse
-
#initialize(event) ⇒ GherkinSourceParsed
constructor
A new instance of GherkinSourceParsed.
Methods inherited from Event
Constructor Details
#initialize(event) ⇒ GherkinSourceParsed
Returns a new instance of GherkinSourceParsed.
175 176 177 178 |
# File 'lib/cucumber/distrib/events.rb', line 175 def initialize(event) super() @gherkin_document = event.gherkin_document end |
Instance Attribute Details
#gherkin_document ⇒ Object (readonly)
Returns the value of attribute gherkin_document.
173 174 175 |
# File 'lib/cucumber/distrib/events.rb', line 173 def gherkin_document @gherkin_document end |