class Cucumber::Formatter::Pretty
def print_outline_data(scenario_outline)
def print_outline_data(scenario_outline) print_comments(scenario_outline.location.line, 2) print_tags(scenario_outline.tags, 2) @source_indent = calculate_source_indent_for_ast_node(scenario_outline) if options[:source] print_scenario_line(scenario_outline, "#{current_feature_uri}:#{scenario_outline.location.line}") print_description(scenario_outline.description) scenario_outline.steps.each do |step| print_comments(step.location.line, 4) step_line = " #{step.keyword}#{step.text}" @io.print(format_string(step_line, :skipped)) if options[:source] comment_line = format_string("# #{current_feature_uri}:#{step.location.line}", :comment) @io.print(indent(comment_line, @source_indent - step_line.length)) end @io.puts next if options[:no_multiline] print_doc_string(step.doc_string.content, :skipped, 6) unless step.doc_string.nil? print_data_table(step.data_table, :skipped, 6) unless step.data_table.nil? end @io.flush end