Class: MathML::Element
- Inherits:
-
XMLElement
- Object
- EimXML::Element
- XMLElement
- MathML::Element
- Defined in:
- lib/math_ml.rb
Direct Known Subclasses
Fenced, Frac, Identifier, None, Number, Operator, Over, Root, Row, Space, Sqrt, SubSup, Table, Td, Text, Tr, Under
Instance Attribute Summary collapse
-
#display_style ⇒ Object
readonly
Returns the value of attribute display_style.
Instance Method Summary collapse
Methods inherited from XMLElement
Instance Attribute Details
#display_style ⇒ Object (readonly)
Returns the value of attribute display_style.
29 30 31 |
# File 'lib/math_ml.rb', line 29 def display_style @display_style end |
Instance Method Details
#<<(s) ⇒ Object
36 37 38 39 |
# File 'lib/math_ml.rb', line 36 def <<(s) s = MathML.pcstring(s) if String===s super(s) end |
#as_display_style ⇒ Object
31 32 33 34 |
# File 'lib/math_ml.rb', line 31 def as_display_style @display_style = true self end |