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
120 121 122 |
# File 'lib/gruff/pie.rb', line 120 def deg2rad self * (Math::PI/180.0) end |