= Rich Units Easy Units for Ruby http://richunits.rubyforge.org == Usage You only need to require 'rich_units' and all of RichUnit's extensions are loaded. require 'richunits' 2.hours #=> 7200 RichUnits also includes a Duration class (inspired by Matthew Harris' version) for storing time measures. These measure were originally stored as Integer seconds. The Duration class instead stores the seconds as an attribute and adds a an optional segements property which can be used to select exactly how to segment up the time period (years, week, days, etc.). See RDocs for complete API documentation. == Development GitHub Repository. git://github.com/trans/richunits.git This project uses the Reap build system. http://reap.rubyforge.org == TODO * Should we rename the Rubyforge project from richunits to rich_units? == Copying Copyright (c) 2008 TigerOps Copyright (c) 2006 Matthew Harris Copyright (c) 2004 Rich Kilmer If you have contributed to this code and feel you deserve mention in the copyright notice, please let us know. Since this code has been through a number of hands and other projects (Facets and ActiveSupport among them) it is hard to identify exactly who is responsible for what. Nonetheless, Rich Kilmer is the father of this code so most of the rights must fall to him. RichUnits is distributed under the terms of the MIT license. See COPYING file.