# Rich Kilmer's Units System v0.5.0 released

**URL:** <https://www.ruby-forum.com/t/rich-kilmers-units-system-v0-5-0-released/169281>\
**Category:** Ruby\
**Created:** [June 1, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/rich-kilmers-units-system-v0-5-0-released/169281 "2009-06-01T21:02:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 1, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/rich-kilmers-units-system-v0-5-0-released/169281/1 "2009-06-01T21:02:48Z")

</div>

= Rich Units

Easy Units for Ruby

[http://richunits.rubyforge.org](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 H.’  
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](http://reap.rubyforge.org)

== Copying

Copyright (c) 2008 TigerOps Copyright (c) 2006 Matthew H. 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.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 1, 2009, 9:12pm UTC](https://www.ruby-forum.com/t/rich-kilmers-units-system-v0-5-0-released/169281/2 "2009-06-01T21:12:10Z")

</div>

My apologies for the subject line! I did not notice it before I sent  
out the post. It should just read

“RichUnits 0.5.0 released”

Rich Kilmer asked that I not use his name to promote the project since  
he only originated the core idea of it many years ago and has had no  
involvement with the libraries that spun off of it since.

Sorry Rich! I fixed the metadata so it won’t happen again.

-T.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [June 1, 2009, 9:13pm UTC](https://www.ruby-forum.com/t/rich-kilmers-units-system-v0-5-0-released/169281/3 "2009-06-01T21:13:21Z")

</div>

There are changed the subject line.

-T.
