Class: Cucumber::Formatter::AstLookup::KeywordLookupBuilder
- Inherits:
-
Object
- Object
- Cucumber::Formatter::AstLookup::KeywordLookupBuilder
- Defined in:
- lib/cucumber/formatter/ast_lookup.rb
Instance Attribute Summary collapse
-
#lookup_hash ⇒ Object
readonly
Returns the value of attribute lookup_hash.
Instance Method Summary collapse
-
#initialize(gherkin_document) ⇒ KeywordLookupBuilder
constructor
A new instance of KeywordLookupBuilder.
Constructor Details
#initialize(gherkin_document) ⇒ KeywordLookupBuilder
Returns a new instance of KeywordLookupBuilder.
140 141 142 143 |
# File 'lib/cucumber/formatter/ast_lookup.rb', line 140 def initialize(gherkin_document) @lookup_hash = {} process_scenario_container(gherkin_document.feature, nil) end |
Instance Attribute Details
#lookup_hash ⇒ Object (readonly)
Returns the value of attribute lookup_hash.
138 139 140 |
# File 'lib/cucumber/formatter/ast_lookup.rb', line 138 def lookup_hash @lookup_hash end |