Class: AsciiMath::AST::Node
- Inherits:
-
Object
- Object
- AsciiMath::AST::Node
- Defined in:
- lib/asciimath/ast.rb
Instance Attribute Summary collapse
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
-
#initialize ⇒ Node
constructor
A new instance of Node.
Constructor Details
#initialize ⇒ Node
Returns a new instance of Node.
73 74 75 |
# File 'lib/asciimath/ast.rb', line 73 def initialize @parent = nil end |
Instance Attribute Details
#parent ⇒ Object
Returns the value of attribute parent.
71 72 73 |
# File 'lib/asciimath/ast.rb', line 71 def parent @parent end |