class Gherkin::Formatter::Model::Tag

Attributes

line[R]
name[R]

Public Class Methods

new(name, line) click to toggle source
# File lib/gherkin/formatter/model.rb, line 202
def initialize(name, line)
  @name, @line = name, line
end

Public Instance Methods

eql?(tag) click to toggle source
# File lib/gherkin/formatter/model.rb, line 206
def eql?(tag)
  @name.eql?(tag.name)
end
hash() click to toggle source
# File lib/gherkin/formatter/model.rb, line 210
def hash
  @name.hash
end