Class: Atom

Inherits:
Latex show all
Defined in:
lib/annlat/LaRuby.rb

Direct Known Subclasses

LatexList, LatexSet

Instance Method Summary collapse

Methods inherited from Latex

#*, #**, #+, #-, #-@, #/, #glue, #is, #my_json, #ne, #of, #to_ltx, #wrap

Constructor Details

#initialize(some_expr) ⇒ Atom

Returns a new instance of Atom.



99
100
101
# File 'lib/annlat/LaRuby.rb', line 99

def initialize(some_expr)
  @expr = some_expr.to_s
end

Instance Method Details

#latexObject



103
104
105
# File 'lib/annlat/LaRuby.rb', line 103

def latex
  @expr
end