Reading a file of events, containing an event name (a string) and a date-time string (yyyy-mm-dd hh:mm(:ss)), print a nice duration since the event (if the event occurs in the past) or until the event (if the event occurs in the future). The impetous for this little program is my wanting to know how long it has been since my last cigarette.

Required Ruby Version

None

Authors

Tamara Temple

Versions

  1. 1.1.0 November 04, 2013 (12.5 KB)
  2. 1.0.0 September 13, 2013 (12.5 KB)
  3. 0.0.1 September 13, 2013 (12.5 KB)

SHA 256 checksum