Class: Numeric

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#degObject



13
14
15
# File 'lib/core_ext.rb', line 13

def deg
  self / 180.0 * Math::PI
end