Sha256: db2ec084426c5a68b2a945e8e7717b1745d56c67d391daf9cbf9e6e5b3c2d629
Contents?: true
Size: 383 Bytes
Versions: 1
Compression:
Stored size: 383 Bytes
Contents
module Koine class Profiler class Entry attr_reader :name, :elapsed_time def initialize(name, elapsed_time) @name, @elapsed_time = name.to_s, elapsed_time end def ==(other) other.name == name && other.elapsed_time == elapsed_time end def <=>(other) elapsed_time <=> other.elapsed_time end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
koine-profiler-0.1.0 | lib/koine/profiler/entry.rb |