From: Edgardo Hames Date: 2005-09-14T01:25:51+09:00 Subject: Re: [ANN] RUnits 0.0.0 - basic unit conversions On 9/12/05, Richard Livsey wrote: > I had the need to implement some unit conversions and so used it as an > opportunity to learn a bit more Ruby than I know through my exposure via > Rails. > > Very quick (and inconsistent to show the diff instantiation options) > examples: > > 50.to_meters + Distance.new(10, :cm) => 50.1.meters > 100.km > 100.to_miles => false > I already posted this comment on your website, but I send it to the list just in case somebody wants to comment. It would be nice to have alias for the US spelling of litre, i.e: liter. Also, the British spelling of meter (metre) could be added to make it more complete. Cheers, Ed -- Encontr� a "Tu psic�pata favorito" http://tuxmaniac.blogspot.com Thou shalt study thy libraries and strive not to reinvent them without cause, that thy code may be short and readable and thy days pleasant and productive. -- Seventh commandment for C programmers