Module: Cucumber::TreetopParser::Feature::PlainStep1

Defined in:
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_ar.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_cy.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_da.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_de.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_en.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_es.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_et.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_fr.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_id.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_it.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_ja.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_ko.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_lt.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_nl.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_no.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_pl.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_pt.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_ro.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_ru.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_se.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_ro2.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_en-tx.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_zh-CN.rb,
lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_en-lol.rb

Instance Method Summary collapse

Instance Method Details

#compile(scenario) ⇒ Object



1147
1148
1149
1150
1151
1152
1153
1154
# File 'lib/gems/cucumber-0.1.15/lib/cucumber/treetop_parser/feature_ar.rb', line 1147

def compile(scenario)
  line = input.line_of(interval.first)
  step = scenario.create_step(step_keyword.text_value, name.text_value.strip, line)

  if multi.respond_to?(:to_arg)
    step.extra_args << multi.to_arg
  end
end