Module: Math

Overview

Now come a few functions that add to ruby’s standard classes or modules

Instance Method Summary collapse

Instance Method Details

#abs(x) ⇒ Object

The absolute value, but in a more easy to use way



708
709
710
# File 'lib/ctioga2/utils.rb', line 708

def abs(x)
  return x.abs
end