Class: MathML::Root
- Inherits:
-
Element
- Object
- EimXML::Element
- XMLElement
- Element
- MathML::Root
- Defined in:
- lib/math_ml/element.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(index, base) ⇒ Root
constructor
A new instance of Root.
Methods inherited from Element
Methods inherited from XMLElement
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 |