Class: Atom
Instance Method Summary collapse
-
#initialize(some_expr) ⇒ Atom
constructor
A new instance of Atom.
- #latex ⇒ Object
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
#latex ⇒ Object
103 104 105 |
# File 'lib/annlat/LaRuby.rb', line 103 def latex @expr end |