class Cucumber::Core::Compiler::ScenarioOutlineCompiler
def examples_table(examples_table, &descend)
def examples_table(examples_table, &descend) @examples_table = examples_table descend.call(self) self end
def examples_table_row(row)
def examples_table_row(row) steps(row).each do |step| receiver.on_step(source + [@examples_table, row, step]) end receiver.on_test_case(source + [@examples_table, row]) self end
def outline_step(outline_step)
def outline_step(outline_step) outline_steps << outline_step self end
def outline_steps
def outline_steps @outline_steps ||= [] end
def steps(row)
def steps(row) outline_steps.map { |s| s.to_step(row) } end