class AsciiMath::AST::ValueNode
Attributes
value[R]
Public Class Methods
new(value)
click to toggle source
Calls superclass method
AsciiMath::AST::Node::new
# File lib/asciimath/ast.rb, line 311 def initialize(value) super() @value = value end
Public Instance Methods
==(o)
click to toggle source
# File lib/asciimath/ast.rb, line 320 def ==(o) o.class == self.class && o.value == value end
to_s()
click to toggle source
# File lib/asciimath/ast.rb, line 316 def to_s value.to_s end