class Cucumber::Ast::OutlineTable::ExampleCells
def accept(visitor)
def accept(visitor) if header? @cells.each do |cell| cell.status = :skipped_param visitor.visit_table_cell(cell) end else visitor.step_mother.before_and_after(self) do @step_invocations.each do |step_invocation| step_invocation.invoke(visitor.step_mother, visitor.options) @exception ||= step_invocation.exception end @cells.each do |cell| visitor.visit_table_cell(cell) end end end end
def accept_hook?(hook)
def accept_hook?(hook) @table.accept_hook?(hook) end
def create_step_invocations!(scenario_outline)
def create_step_invocations!(scenario_outline) @step_invocations = scenario_outline.step_invocations(self) end
def header?
def header? index == 0 end
def skip_invoke!
def skip_invoke! @step_invocations.each do |step_invocation| step_invocation.skip_invoke! end end