Class: AsciiMath::AST::Empty

Inherits:
Node
  • Object
show all
Defined in:
lib/asciimath/ast.rb

Instance Attribute Summary

Attributes inherited from Node

#parent

Instance Method Summary collapse

Constructor Details

#initializeEmpty

Returns a new instance of Empty.



445
446
447
# File 'lib/asciimath/ast.rb', line 445

def initialize()
  super
end

Instance Method Details

#==(o) ⇒ Object



453
454
455
# File 'lib/asciimath/ast.rb', line 453

def ==(o)
  o.class == self.class
end

#to_sObject



449
450
451
# File 'lib/asciimath/ast.rb', line 449

def to_s
  ''
end