Monthly Archives: June 2009

Splash

Listen to “Splash”

Posted in music | 2 Comments

Ruby Duration

Download ruby duration lib Duration.new recieves a string describing a duration of time, and converts it into: seconds, and a standard readable format. Or, you can pass Duration.new an integer representing seconds, and receive the same standard readable format. Usage: Passing a String Passing an Fixnum (of seconds)   Example valid input strings: “2 weeks”, [...]

Posted in ruby | 1 Comment