Class: Fixnum
- Inherits:
-
Object
- Object
- Fixnum
- Defined in:
- lib/annlat/LaRuby.rb,
lib/annlat/Sundries.rb
Instance Method Summary collapse
- #prettify ⇒ Object
- #to_ltx ⇒ Object (also: #l)
Instance Method Details
#prettify ⇒ Object
8 9 10 |
# File 'lib/annlat/Sundries.rb', line 8 def prettify self end |
#to_ltx ⇒ Object Also known as: l
188 189 190 |
# File 'lib/annlat/LaRuby.rb', line 188 def to_ltx (self >= 0) ? Atom.new(self) : -(Atom.new(-self)) end |