class MathML::Math

Public Class Methods

new(display_style) click to toggle source
Calls superclass method
   # File lib/math_ml/element.rb
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