Class: GherkinRuby::AST::Tag

Inherits:
Node
  • Object
show all
Defined in:
lib/gherkin_ruby/ast.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#filename, #line

Instance Method Summary collapse

Methods inherited from Node

#accept, #pos

Constructor Details

#initialize(name) ⇒ Tag

Returns a new instance of Tag.



84
85
86
# File 'lib/gherkin_ruby/ast.rb', line 84

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



83
84
85
# File 'lib/gherkin_ruby/ast.rb', line 83

def name
  @name
end