Class: Cucumber::Formatter::AstLookup::TestCaseLookupBuilder

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) ⇒ TestCaseLookupBuilder

Returns a new instance of TestCaseLookupBuilder.



70
71
72
73
# File 'lib/cucumber/formatter/ast_lookup.rb', line 70

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

Instance Attribute Details

#lookup_hashObject (readonly)

Returns the value of attribute lookup_hash.



68
69
70
# File 'lib/cucumber/formatter/ast_lookup.rb', line 68

def lookup_hash
  @lookup_hash
end