# File lib/gherkin/formatter/pretty_formatter.rb, line 58 def print_statement return if @statement.nil? calculate_location_indentations @io.puts print_comments(@statement.comments, ' ') print_tags(@statement.tags, ' ') if @statement.respond_to?(:tags) # Background doesn't @io.write " #{@statement.keyword}: #{@statement.name}" location = @executing ? "#{@uri}:#{@statement.line}" : nil @io.puts indented_location(location, true) print_description(@statement.description, ' ') @statement = nil end