Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/osb/numeric.rb
Instance Method Summary collapse
-
#degrees ⇒ Float
The degrees method is used to convert from degrees to radians.
Instance Method Details
#degrees ⇒ Float
The degrees method is used to convert from degrees to radians.
6 7 8 |
# File 'lib/osb/numeric.rb', line 6 def degrees self * Math::PI / 180 end |