Class: Cucumber::Events::GherkinSourceParsed
- Defined in:
- lib/cucumber/events/gherkin_source_parsed.rb
Overview
Fired after we’ve parsed the contents of a feature file
Instance Attribute Summary collapse
-
#gherkin_document ⇒ Object
readonly
# The Gherkin Ast.
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.
16 17 18 19 |
# File 'lib/cucumber/events/gherkin_source_parsed.rb', line 16 def initialize(gherkin_document) @gherkin_document = gherkin_document super() end |
Instance Attribute Details
#gherkin_document ⇒ Object (readonly)
# The Gherkin Ast
10 11 12 |
# File 'lib/cucumber/events/gherkin_source_parsed.rb', line 10 def gherkin_document @gherkin_document end |
Class Method Details
.event_id ⇒ Object
12 13 14 |
# File 'lib/cucumber/events/gherkin_source_parsed.rb', line 12 def self.event_id :gherkin_source_parsed end |