Method: AsciiMath::AST::Symbol#initialize
- Defined in:
- lib/asciimath/ast.rb
#initialize(value, text, type) ⇒ Symbol
Returns a new instance of Symbol.
345 346 347 348 349 |
# File 'lib/asciimath/ast.rb', line 345 def initialize(value, text, type) super(value) @text = text.dup.freeze @type = type end |