Module: Cucumber::TreetopParser::Feature::ScenarioSequence2

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(feature) ⇒ Object

:nodoc:



168
169
170
171
172
# File 'lib/cucumber/treetop_parser/feature_da.rb', line 168

def compile(feature) #:nodoc:
  ([head] + tail).each do |scenario_or_table|
    scenario_or_table.compile(feature) if scenario_or_table.respond_to?(:compile)
  end
end

#tailObject

:nodoc:



174
175
176
# File 'lib/cucumber/treetop_parser/feature_da.rb', line 174

def tail #:nodoc:
  super.elements.map { |elt| elt.scenario_or_table }
end