Class: Cucumber::Core::Events::GherkinSourceParsed
- Defined in:
- lib/cucumber/core/events/gherkin_source_parsed.rb
Overview
Signals that a gherkin source has been parsed
Instance Attribute Summary collapse
-
#gherkin_document ⇒ GherkinDocument
readonly
The GherkinDocument Ast Node that was parsed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gherkin_document) ⇒ GherkinSourceParsed
constructor
A new instance of GherkinSourceParsed.
Methods inherited from Base
Constructor Details
#initialize(gherkin_document) ⇒ GherkinSourceParsed
Returns a new instance of GherkinSourceParsed.
17 18 19 20 |
# File 'lib/cucumber/core/events/gherkin_source_parsed.rb', line 17 def initialize(gherkin_document) @gherkin_document = gherkin_document super() end |
Instance Attribute Details
#gherkin_document ⇒ GherkinDocument (readonly)
Returns the GherkinDocument Ast Node that was parsed.
11 12 13 |
# File 'lib/cucumber/core/events/gherkin_source_parsed.rb', line 11 def gherkin_document @gherkin_document end |
Class Method Details
.event_id ⇒ Object
13 14 15 |
# File 'lib/cucumber/core/events/gherkin_source_parsed.rb', line 13 def self.event_id :gherkin_source_parsed end |