Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/gruff/pie.rb
Instance Method Summary collapse
-
#deg2rad ⇒ Object
Used for degree => radian conversions.
Instance Method Details
#deg2rad ⇒ Object
Used for degree => radian conversions
122 123 124 |
# File 'lib/gruff/pie.rb', line 122 def deg2rad self * (Math::PI/180.0) end |