gem install unite
Based on the algorithms developed by Gordon S. Novak, Jr. at the University of Texas, which can be found here:
Handles the following dimensions:
[:length, :time, :temperature, :mass, :current, :substance, :luminosity, :money]
Note: Conversion of Money is not currently supported.
Unite::Quantity to represent values or include the functionality into your own objects.
Look at https://github.com/stellard/unite/blob/master/lib/unite/quantity.rb for a minum implementation
TODO: Needs more info here.
Unit definitions are found here:
Specs show good examples of use.