Sha256: af346f73a3f80c82843cb41499b39835ebab318a079e9805ec2fa501116e0f92

Contents?: true

Size: 256 Bytes

Versions: 3

Compression:

Stored size: 256 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.11.0 plugins/time_50_ago.rb
murlsh-0.10.0 plugins/time_50_ago.rb
murlsh-0.9.0 plugins/time_50_ago.rb