Forum: Ruby RichUnits v0.5.0 released

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7c239e756cb769598f6d9dd344f1efad?d=identicon&s=25 unknown (Guest)
on 2009-06-01 21:12
(Received via mailing list)
= 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

== 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 initiator of the whole idea, so I figure much of the
rights belong to him.

RichUnits is distributed under the terms of the MIT license.

See COPYING file.
This topic is locked and can not be replied to.