Class MathML::Math
In: lib/math_ml/element.rb
Parent: XMLElement

Methods

new  

Public Class methods

[Source]

    # File lib/math_ml/element.rb, line 32
32:                 def initialize(display_style)
33:                         super("math", "xmlns"=>"http://www.w3.org/1998/Math/MathML")
34:                         self[:display] = display_style ? "block" : "inline"
35:                 end

[Validate]