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



120
121
122
# File 'lib/gruff/pie.rb', line 120

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