josedonizetti / ruby-duration

Immutable type that represents some amount of time with accuracy in seconds.
http://bit.ly/ruby-duration
MIT License
124 stars 23 forks source link

Add total times #2

Closed gdavison closed 12 years ago

gdavison commented 12 years ago

Hi Jose,

I've functions and formats to access the total days, hours, and minutes on a Duration object. I've also added single format selectors for total days, hours, minutes, and seconds plus the unit.

Graham