Module: Math
- Defined in:
- lib/ctioga2/utils.rb
Overview
Now come a few functions that add to ruby’s standard classes or modules
Instance Method Summary collapse
-
#abs(x) ⇒ Object
The absolute value, but in a more easy to use way.
Instance Method Details
#abs(x) ⇒ Object
The absolute value, but in a more easy to use way
517 518 519 |
# File 'lib/ctioga2/utils.rb', line 517 def abs(x) return x.abs end |