Class: MathML::Frac
- Inherits:
-
Element
- Object
- EimXML::Element
- XMLElement
- Element
- MathML::Frac
- Defined in:
- lib/math_ml/element.rb
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(numerator, denominator) ⇒ Frac
constructor
A new instance of Frac.
Methods inherited from Element
Methods inherited from XMLElement
Constructor Details
#initialize(numerator, denominator) ⇒ Frac
Returns a new instance of Frac.
77 78 79 80 81 |
# File 'lib/math_ml/element.rb', line 77 def initialize(numerator, denominator) super("mfrac") self << numerator self << denominator end |