Class: Float

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

Instance Method Summary collapse

Instance Method Details

#deg2radObject

Used for degree => radian conversions



122
123
124
# File 'lib/gruff/pie.rb', line 122

def deg2rad
  self * (Math::PI/180.0)
end