class AsciiMath::AST::Text

Public Class Methods

new(value) click to toggle source
Calls superclass method AsciiMath::AST::ValueNode::new
# File lib/asciimath/ast.rb, line 326
def initialize(value)
  super(value.dup.freeze)
end

Public Instance Methods

to_s() click to toggle source
Calls superclass method AsciiMath::AST::ValueNode#to_s
# File lib/asciimath/ast.rb, line 330
def to_s
  '"' + super + '"'
end