Class: MathML::Element

Inherits:
XMLElement
  • Object
show all
Defined in:
lib/math_ml/element.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

Instance Method Summary collapse

Methods inherited from XMLElement

#pop

Instance Attribute Details

#display_styleObject (readonly)

Returns the value of attribute display_style.



3
4
5
# File 'lib/math_ml/element.rb', line 3

def display_style
  @display_style
end

Instance Method Details

#as_display_styleObject



5
6
7
8
# File 'lib/math_ml/element.rb', line 5

def as_display_style
	@display_style = true
	self
end