class ToLatex::LatexString
A string converted to latex
Public Instance Methods
+(other)
click to toggle source
# File lib/to_latex.rb, line 47 def +(other) dup.concat(other) end
concat(value)
click to toggle source
Calls superclass method
# File lib/to_latex.rb, line 37 def concat value if value.latex? super value else super value.to_latex end end
Also aliased as: <<
latex!()
click to toggle source
# File lib/to_latex.rb, line 29 def latex! self end
latex?()
click to toggle source
# File lib/to_latex.rb, line 33 def latex? true end
to_latex()
click to toggle source
# File lib/to_latex.rb, line 25 def to_latex self end
to_s()
click to toggle source
# File lib/to_latex.rb, line 51 def to_s self end