# File lib/gherkin/formatter/model.rb, line 10 def initialize(comments, keyword, name, line) @comments, @keyword, @name, @line = comments, keyword, name, line end
# File lib/gherkin/formatter/model.rb, line 19 def first_non_comment_line @line end
# File lib/gherkin/formatter/model.rb, line 14 def line_range first = @comments.any? ? @comments[0].line : first_non_comment_line first..line end