Y
Hacker News
new
|
ask
|
show
|
jobs
by
psadauskas
5976 days ago
Your first one, commented with ??????, is an instance of a Duration object. It implements the #ago and #from_now methods, so that Integer objects aren't cluttered with methods that mean nothing to it.
http://api.rubyonrails.org/classes/ActiveSupport/Duration.ht...