# File lib/cucumber/formatter/json.rb, line 328 def self.create_comments_array(comments) comments_array = [] comments.each { |comment| comments_array << { value: comment.to_s.strip, line: comment.location.line } } comments_array end