Class: Multimeter::MetricRegistry
- Inherits:
-
Object
- Object
- Multimeter::MetricRegistry
- Defined in:
- lib/multimeter.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/multimeter.rb', line 13 def to_h h = {} metrics.each do |metric_name, metric| h[metric_name] = metric.to_h end h end |