Method: RubyUnits::Unit#kind
- Defined in:
- lib/ruby_units/unit.rb
#kind ⇒ Symbol
@todo: figure out how to handle :counting units. This method should probably return :counting instead of :unitless for ‘each’ return the kind of the unit (:mass, :length, etc…)
573 574 575 |
# File 'lib/ruby_units/unit.rb', line 573 def kind self.class.kinds[signature] end |