Sha256: 22073aec94a57f94c51a3b79a3d5c56a81e8ea6e47508d46e112d2530ca9f13d

Contents?: true

Size: 188 Bytes

Versions: 27

Compression:

Stored size: 188 Bytes

Contents

module Lhm
  class Timestamp
    def initialize(time)
      @time = time
    end

    def to_s
      @time.strftime "%Y_%m_%d_%H_%M_%S_#{ '%03d' % (@time.usec / 1000) }"
    end
  end
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
lhm-shopify-4.4.2 lib/lhm/timestamp.rb
lhm-shopify-4.4.1 lib/lhm/timestamp.rb
lhm-shopify-4.4.0 lib/lhm/timestamp.rb
lhm-shopify-4.3.0 lib/lhm/timestamp.rb
lhm-shopify-4.2.3 lib/lhm/timestamp.rb
lhm-shopify-4.2.2 lib/lhm/timestamp.rb
lhm-shopify-4.2.1 lib/lhm/timestamp.rb
lhm-shopify-4.2.0 lib/lhm/timestamp.rb
lhm-shopify-4.1.1 lib/lhm/timestamp.rb
lhm-shopify-4.1.0 lib/lhm/timestamp.rb
lhm-shopify-4.0.0 lib/lhm/timestamp.rb
lhm-teak-3.6.4 lib/lhm/timestamp.rb
lhm-teak-3.6.3 lib/lhm/timestamp.rb
lhm-teak-3.6.2 lib/lhm/timestamp.rb
lhm-teak-3.6.1 lib/lhm/timestamp.rb
lhm-teak-3.6.0 lib/lhm/timestamp.rb
lhm-shopify-3.5.5 lib/lhm/timestamp.rb
lhm-shopify-3.5.4 lib/lhm/timestamp.rb
lhm-shopify-3.5.3 lib/lhm/timestamp.rb
lhm-shopify-3.5.2 lib/lhm/timestamp.rb