Module: Cucumber::TreetopParser::Feature::PlainStep2

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:



893
894
895
896
897
898
899
# File 'lib/cucumber/treetop_parser/feature_da.rb', line 893

def compile(scenario) #:nodoc:
  line = input.line_of(interval.first)
  step = scenario.create_step(step_keyword.text_value, name.text_value.strip, line)
  if multi.respond_to?(:multiline_arg)
    step.extra_args << multi.multiline_arg.to_arg
  end
end