class Gherkin::Formatter::Model::TagStatement
Attributes
id[R]
Public Class Methods
new(comments, tags, keyword, name, description, line, id)
click to toggle source
Calls superclass method
Gherkin::Formatter::Model::DescribedStatement.new
# File lib/gherkin/formatter/model.rb, line 36 def initialize(comments, tags, keyword, name, description, line, id) super(comments, keyword, name, description, line) @tags = tags @id = id end
Public Instance Methods
first_non_comment_line()
click to toggle source
# File lib/gherkin/formatter/model.rb, line 42 def first_non_comment_line @tags.any? ? @tags[0].line : @line end