Class/Module Index [+]

Quicksearch

Gherkin::Formatter::Model::TagStatement

Attributes

tags[R]

Public Class Methods

new(comments, tags, keyword, name, description, line) click to toggle source
# File lib/gherkin/formatter/model.rb, line 36
def initialize(comments, tags, keyword, name, description, line)
  super(comments, keyword, name, description, line)
  @tags = tags
end

Public Instance Methods

first_non_comment_line() click to toggle source
# File lib/gherkin/formatter/model.rb, line 41
def first_non_comment_line
  @tags.any? ? @tags[0].line : @line
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.