more work on comments for events

This commit is contained in:
Kyle Drake 2014-05-01 19:20:34 -07:00
parent eba4a6e3f5
commit b96730b83f
17 changed files with 2298 additions and 43 deletions

View file

@ -108,4 +108,12 @@ class Numeric
def rounddown(nearest=10)
self % nearest == 0 ? self : self - (self % nearest)
end
end
class Time
alias_method :ago_original, :ago
def ago
ago_original.downcase.gsub('right now, this very moment.', 'just now')
end
end