Class: Numeric

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

Instance Method Summary collapse

Instance Method Details

#degreesObject



2
3
4
# File 'lib/geonames_client/numeric_extensions.rb', line 2

def degrees
  self * Math::PI / 180
end