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-3.5.0 lib/lhm/timestamp.rb
lhm-shopify-3.5.1 lib/lhm/timestamp.rb
lhm-shopify-3.4.2 lib/lhm/timestamp.rb
lhm-shopify-3.4.1 lib/lhm/timestamp.rb
lhm-shopify-3.4.0 lib/lhm/timestamp.rb
lhm-shopify-3.3.6 lib/lhm/timestamp.rb
lhm-shopify-3.3.5 lib/lhm/timestamp.rb