Class: MathML::Root

Inherits:
Element show all
Defined in:
lib/math_ml/element.rb

Instance Attribute Summary

Attributes inherited from Element

#display_style

Instance Method Summary collapse

Methods inherited from Element

#as_display_style

Methods inherited from XMLElement

#pop

Constructor Details

#initialize(index, base) ⇒ Root

Returns a new instance of Root.



175
176
177
178
179
# File 'lib/math_ml/element.rb', line 175

def initialize(index, base)
	super("mroot")
	self << base
	self << index
end