class AsciiMath::AST::Symbol
Attributes
text[R]
Public Class Methods
new(value, text)
click to toggle source
Calls superclass method
AsciiMath::AST::ValueNode::new
# File lib/asciimath/ast.rb, line 344 def initialize(value, text) super(value) @text = text.dup.freeze end
Public Instance Methods
==(o)
click to toggle source
Calls superclass method
AsciiMath::AST::ValueNode#==
# File lib/asciimath/ast.rb, line 349 def ==(o) super && o.text == text end
to_s()
click to toggle source
# File lib/asciimath/ast.rb, line 353 def to_s text end