krainboltgreene / time-lord

time-lord is a ruby gem that adds extra functionality to the time class.
MIT License
156 stars 19 forks source link

Integer from and till #10

Closed krainboltgreene closed 7 years ago

krainboltgreene commented 11 years ago

I want to be able to say things like:

Time.now #=> Jan 1st, 2000
my_birthday = 1.year.from_now
big_boy_status_achieved = 1.day.from my_birthday
big_boy_status_achieved.begins #=> Jan 2nd, 2001
coveralls commented 11 years ago

Coverage increased (+0.02%) when pulling 3da02e502b185191249ed594b57b8594e215d908 on integer-from-and-till into f4f6579acc103ac5be912b7ce8ba7e6a380a143d on master.

View Details