Class: Numeric

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

Instance Method Summary collapse

Instance Method Details

#to_radObject



28
29
30
# File 'lib/dublin_bikes/station.rb', line 28

def to_rad
  self * Math::PI / 180
end