Sometime in The Glorious Future™, Freaky/monotime looks like it could be quite useful, not to mention interesting. In particular, its Instant class lets you establish a point in time and then take successive readings of the time difference between "now" and when that Instant was instantiated. Before we understood the difference between the Time class as defined in Ruby core and the Time class as defined in the Standard Library, we were considering using Instant for the password_reset_sent_atattribute required byCryptIdent. That would make checking for expiration even more trivially easy than straight Time` arithmetic.
Sometime in The Glorious Future™,
Freaky/monotimelooks like it could be quite useful, not to mention interesting. In particular, itsInstantclass lets you establish a point in time and then take successive readings of the time difference between "now" and when thatInstantwas instantiated. Before we understood the difference between theTimeclass as defined in Ruby core and theTimeclass as defined in the Standard Library, we were considering usingInstant for thepassword_reset_sent_atattribute required byCryptIdent. That would make checking for expiration even more trivially easy than straightTime` arithmetic.