# File lib/gherkin/formatter/pretty_formatter.rb, line 102 def print_step(status, arguments, location, proceed) step = proceed ? @steps.shift : @steps[0] text_format = format(status) arg_format = arg_format(status) print_comments(step.comments, ' ') @io.write(' ') @io.write(text_format.text(step.keyword)) @step_printer.write_step(@io, text_format, arg_format, step.name, arguments) @io.puts(indented_location(location, proceed)) case step.multiline_arg when Model::DocString doc_string(step.multiline_arg) when Array table(step.multiline_arg) end end