--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: time_ago_in_words
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Condenses time... very similar to time_ago_in_words in ActionPack
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "from_time<~to_time>:"
    body: The Date or Time to start from
  - !ruby/struct:SM::Flow::LI 
    label: "to_time<~to_time>:"
    body: The Date or Time to go to, Defaults to Time.now.utc
  - !ruby/struct:SM::Flow::LI 
    label: "include_seconds<Boolean>:"
    body: Count the seconds initially, Defaults to false
  - !ruby/struct:SM::Flow::LI 
    label: "locale<String, Symbol>:"
    body: An optional value which can be used by localization plugins
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Returns
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "String:"
    body: The time distance
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::P 
  body: "time_lost_in_words(3.minutes.from_now) # =&gt; 3 minutes time_lost_in_words(Time.now - 15.hours) # =&gt; 15 hours time_lost_in_words(Time.now, 3.minutes.from_now) # =&gt; 3 minutes time_lost_in_words(Time.now) # =&gt; less than a minute time_lost_in_words(Time.now, Time.now, true) # =&gt; less than 5 seconds"
full_name: Merb::Helpers::DateAndTime#time_lost_in_words
is_singleton: false
name: time_lost_in_words
params: (from_time, to_time = Time.now.utc, include_seconds = false, locale=nil)
visibility: public
