class AsciiMath::AST::MatrixRow
Public Class Methods
new(nodes)
click to toggle source
Calls superclass method
AsciiMath::AST::InnerNode::new
# File lib/asciimath/ast.rb, line 428 def initialize(nodes) super() nodes.each { |node| add(node || Empty.new) } end
Public Instance Methods
==(o)
click to toggle source
# File lib/asciimath/ast.rb, line 437 def ==(o) o.class == self.class && o.child_nodes == child_nodes end
to_s()
click to toggle source
# File lib/asciimath/ast.rb, line 433 def to_s "(" + child_nodes.map { |node| node.to_s }.join(",") + ")" end