Class: Mnemonic::Metric::TimeSeconds

Inherits:
Base
  • Object
show all
Defined in:
lib/mnemonic/metric/time_seconds.rb

Instance Attribute Summary

Attributes inherited from Base

#diff, #diff_from_start, #prev_value, #start_value, #value

Instance Method Summary collapse

Methods inherited from Base

#each_submetric, #refresh!, #start!

Instance Method Details

#kindObject



8
9
10
# File 'lib/mnemonic/metric/time_seconds.rb', line 8

def kind
  :number
end

#nameObject



4
5
6
# File 'lib/mnemonic/metric/time_seconds.rb', line 4

def name
  'Time(s)'.freeze
end