Sha256: 8448993af5364eadc81a00c9118000efef6ba17cca6aca115ab1ac3efcf406fb

Contents?: true

Size: 139 Bytes

Versions: 11

Compression:

Stored size: 139 Bytes

Contents

module Loga
  module Utilities
    def duration_in_ms(started_at, ended_at)
      ((ended_at - started_at) * 1000).round
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
loga-2.2.0 lib/loga/utilities.rb
loga-2.1.2 lib/loga/utilities.rb
loga-2.1.1 lib/loga/utilities.rb
loga-2.0.0 lib/loga/utilities.rb
loga-1.4.0 lib/loga/utilities.rb
loga-1.3.0 lib/loga/utilities.rb
loga-1.2.1 lib/loga/utilities.rb
loga-1.1.1 lib/loga/utilities.rb
loga-1.1.0 lib/loga/utilities.rb
loga-1.0.0 lib/loga/utilities.rb
loga-2.1.0 lib/loga/utilities.rb