Class: GherkinRuby::AST::Tag
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(name) ⇒ Tag
constructor
A new instance of Tag.
Methods inherited from Node
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
83 84 85 |
# File 'lib/gherkin_ruby/ast.rb', line 83 def name @name end |