# File lib/gherkin/formatter/pretty_formatter.rb, line 59
      def step(statement, multiline_arg, result)
        name = Gherkin::Formatter::Argument.format(statement.name, @format, (result ? result.arguments : []))

        step = "#{statement.keyword}#{statement.name}"
        step = self.__send__(result.status, step, @monochrome) if result

        print_comments(statement.comments, '    ')
        @io.puts("    #{step}#{indented_step_location!(result ? result.stepdef_location : nil)}")
        case multiline_arg
        when Model::PyString
          py_string(multiline_arg)
        when Array
          table(multiline_arg)
        when NilClass
        else
          raise "Bad multiline_arg: #{multiline_arg.inspect}"
        end
      end