9 10 11
# File 'lib/time-lord/extensions/integer.rb', line 9 def ago TimeLord::Time.new(Time.now - self).period end
13 14 15
# File 'lib/time-lord/extensions/integer.rb', line 13 def from_now TimeLord::Time.new(Time.now + self).period end