Module: MathML

Defined in:
lib/math_ml.rb,
lib/math_ml/latex.rb,
lib/math_ml/string.rb,
lib/math_ml/element.rb,
lib/math_ml/symbol/utf8.rb,
lib/math_ml/symbol/entity_reference.rb,
lib/math_ml/symbol/character_reference.rb

Defined Under Namespace

Modules: Align, LaTeX, Line, String, Symbol, Util, Variant Classes: Element, Error, Fenced, Frac, Identifier, Math, None, Number, Operator, Over, Root, Row, Space, Sqrt, SubSup, Table, Td, Text, Tr, Under, XMLElement

Class Method Summary collapse

Class Method Details

.pcstring(s, encoded = false) ⇒ Object



16
17
18
# File 'lib/math_ml.rb', line 16

def self.pcstring(s, encoded=false)
	s.is_a?(EimXML::PCString) ? s : EimXML::PCString.new(s, encoded)
end