class MathML::Math
Public Class Methods
new(display_style)
click to toggle source
Calls superclass method
# File lib/math_ml/element.rb, line 32 def initialize(display_style) super("math", "xmlns"=>"http://www.w3.org/1998/Math/MathML") self[:display] = display_style ? "block" : "inline" end