Class: LucidTDL::AST::Tag

Inherits:
Node
  • Object
show all
Defined in:
lib/lucid-tdl/ast.rb

Overview

class Step

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.



96
97
98
# File 'lib/lucid-tdl/ast.rb', line 96

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



94
95
96
# File 'lib/lucid-tdl/ast.rb', line 94

def name
  @name
end