Sha256: 8385030d93d2450266b31214412f7d521bb513d41d6ecafc331b18583794d482
Contents?: true
Size: 238 Bytes
Versions: 1
Compression:
Stored size: 238 Bytes
Contents
class StopwatchEvent attr_accessor :query_count def initialize(event) @event = event end def template @event.payload[:identifier].gsub(/.*\/app\/views\//, "") end def duration @event.duration.round(2) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stopwatch-0.0.3 | lib/stopwatch_event.rb |