Sha256: 9558c86f83f6c11c3e42ad8b5534bd66d4e96e39cfa6f04354c4fcce49fdab22

Contents?: true

Size: 255 Bytes

Versions: 3

Compression:

Stored size: 255 Bytes

Contents

%w{
murlsh
}.each { |m| require m }

module Murlsh

  # show the time as the fuzzy amount of time that has elapsed since then
  class Time50Ago < Plugin

    Hook = 'time'

    def self.run(time); time.extend(Murlsh::TimeAgo).ago if time; end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
murlsh-0.8.1 plugins/time_50_ago.rb
murlsh-0.8.0 plugins/time_50_ago.rb
murlsh-0.7.0 plugins/time_50_ago.rb