Consider using 'monotime' Gem as basis of time measurement #16
Labels
future feature
A good idea, but not for the current release.
tooling
Related to use of third-party tools of whatever form
wontfix
This will not be worked on
Milestone
Sometime in The Glorious Future™,
Freaky/monotime
looks like it could be quite useful, not to mention interesting. In particular, itsInstant
class lets you establish a point in time and then take successive readings of the time difference between "now" and when thatInstant
was instantiated. Before we understood the difference between theTime
class as defined in Ruby core and theTime
class as defined in the Standard Library, we were considering usingInstant for the
password_reset_sent_atattribute required by
CryptIdent. That would make checking for expiration even more trivially easy than straight
Time` arithmetic.The text was updated successfully, but these errors were encountered: