Module: Eien::Helpers::TimeHelpers

Includes:
DOTIW::Methods
Included in:
Renderers::Renderer, Task
Defined in:
lib/eien/helpers/time_helpers.rb

Instance Method Summary collapse

Instance Method Details

#summarize_age(time) ⇒ Object



10
11
12
# File 'lib/eien/helpers/time_helpers.rb', line 10

def summarize_age(time)
  time_ago_in_words(time, include_seconds: true, highest_measures: 2)
end