Method: Honeybadger::Metric#initialize
- Defined in:
- lib/honeybadger/metric.rb
#initialize(name, attributes) ⇒ Metric
Returns a new instance of Metric.
18 19 20 21 22 |
# File 'lib/honeybadger/metric.rb', line 18 def initialize(name, attributes) @name = name @attributes = attributes || {} @samples = 0 end |