# File lib/cucumber/core/ast/outline_step.rb, line 15 def initialize(language, location, comments, keyword, text, multiline_arg) @language, @location, @comments, @keyword, @name, @multiline_arg = language, location, comments, keyword, text, multiline_arg end
# File lib/cucumber/core/ast/outline_step.rb, line 23 def inspect keyword_and_name = [keyword, name].join(": ") %Q{#<#{self.class} "#{keyword_and_name}" (#{location})>} end
# File lib/cucumber/core/ast/outline_step.rb, line 19 def to_step(row) Ast::ExpandedOutlineStep.new(self, language, row.location, comments, keyword, row.expand(name), replace_multiline_arg(row)) end
# File lib/cucumber/core/ast/outline_step.rb, line 34 def children # TODO remove duplication with Step # TODO spec [@multiline_arg] end
# File lib/cucumber/core/ast/outline_step.rb, line 30 def description_for_visitors :outline_step end
# File lib/cucumber/core/ast/outline_step.rb, line 40 def replace_multiline_arg(example_row) return unless multiline_arg multiline_arg.map { |cell| example_row.expand(cell) } end