Sha256: 627e06e5e91b3d3eff3c8cc23e0123b50d37ca4f9bb8a8630978a5da3acae280
Contents?: true
Size: 210 Bytes
Versions: 2
Compression:
Stored size: 210 Bytes
Contents
module MugenHelper def d(timestamp) if timestamp Time.at(timestamp).to_s(:short) end end def eta(timestamp) time_ago_in_words(Time.at(timestamp)) unless timestamp.empty? end end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mugen-0.2.1 | generators/templates/app/helpers/mugen_helper.rb |
mugen-0.2.1 | lib/generators/mugen/templates/app/helpers/mugen_helper.rb |