Class: Pulo::AngularVelocity
- Inherits:
-
Object
- Object
- Pulo::AngularVelocity
- Defined in:
- lib/pulo/quantity/quantity_definitions/rotation.rb
Overview
overide the standard methods for conversion between AngularVelocity and Frequency as it is not 1 to 1
Instance Method Summary collapse
Instance Method Details
#frequency ⇒ Object
13 14 15 |
# File 'lib/pulo/quantity/quantity_definitions/rotation.rb', line 13 def frequency Frequency.hertz(self.radian_per_second.value/(Math::PI*2)) end |