Class MathML::Fenced
In: lib/math_ml/element.rb
Parent: Element

Methods

close=   new   open=  

Attributes

close  [R] 
open  [R] 

Public Class methods

[Source]

    # File lib/math_ml/element.rb, line 59
59:                 def initialize
60:                         super("mfenced")
61:                 end

Public Instance methods

[Source]

    # File lib/math_ml/element.rb, line 69
69:                 def close=(c)
70:                         c = "" if c.to_s=="." || !c
71:                         c = "}" if c.to_s=="\\}"
72:                         self[:close] = MathML.pcstring(c, true)
73:                 end

[Source]

    # File lib/math_ml/element.rb, line 63
63:                 def open=(o)
64:                         o = "" if o.to_s=="." || !o
65:                         o = "{" if o.to_s=="\\{"
66:                         self[:open] = MathML.pcstring(o, true)
67:                 end

[Validate]