Module: Cucumber::TreetopParser::Feature::GivenScenario1

Defined in:
lib/cucumber/treetop_parser/feature_da.rb,
lib/cucumber/treetop_parser/feature_de.rb,
lib/cucumber/treetop_parser/feature_en.rb,
lib/cucumber/treetop_parser/feature_es.rb,
lib/cucumber/treetop_parser/feature_et.rb,
lib/cucumber/treetop_parser/feature_fr.rb,
lib/cucumber/treetop_parser/feature_ja.rb,
lib/cucumber/treetop_parser/feature_nl.rb,
lib/cucumber/treetop_parser/feature_no.rb,
lib/cucumber/treetop_parser/feature_pt.rb,
lib/cucumber/treetop_parser/feature_ru.rb,
lib/cucumber/treetop_parser/feature_se.rb,
lib/cucumber/treetop_parser/feature_en-tx.rb,
lib/cucumber/treetop_parser/feature_zh-CN.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#compile(scenario) ⇒ Object

:nodoc:



824
825
826
827
# File 'lib/cucumber/treetop_parser/feature_da.rb', line 824

def compile(scenario) #:nodoc:
  line = input.line_of(interval.first)
  scenario.create_given_scenario(name.text_value.strip, line)
end