Class: Mnemonic::Metric::GCStat
- Inherits:
-
HashMetric
- Object
- HashMetric
- Mnemonic::Metric::GCStat
- Defined in:
- lib/mnemonic/metric/gc_stat.rb
Instance Method Summary collapse
-
#initialize(*keys) ⇒ GCStat
constructor
A new instance of GCStat.
- #name ⇒ Object
Methods inherited from HashMetric
#[], #each_submetric, #refresh!, #start!
Constructor Details
#initialize(*keys) ⇒ GCStat
Returns a new instance of GCStat.
4 5 6 7 |
# File 'lib/mnemonic/metric/gc_stat.rb', line 4 def initialize(*keys) keys = DEFAULT_KEYS if keys.empty? super end |
Instance Method Details
#name ⇒ Object
9 10 11 |
# File 'lib/mnemonic/metric/gc_stat.rb', line 9 def name 'GCStat'.freeze end |