Class: Pulo::AngularVelocity

Inherits:
Object
  • Object
show all
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

#frequencyObject



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