Class: Cucumber::Formatter::AstLookup::KeywordLookupBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/formatter/ast_lookup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gherkin_document) ⇒ KeywordLookupBuilder

Returns a new instance of KeywordLookupBuilder.


132
133
134
135
# File 'lib/cucumber/formatter/ast_lookup.rb', line 132

def initialize(gherkin_document)
  @lookup_hash = {}
  process_scenario_container(gherkin_document.feature, nil)
end

Instance Attribute Details

#lookup_hashObject (readonly)

Returns the value of attribute lookup_hash


130
131
132
# File 'lib/cucumber/formatter/ast_lookup.rb', line 130

def lookup_hash
  @lookup_hash
end