Class: Beagle::Metrics

Inherits:
Object
  • Object
show all
Defined in:
lib/beagle/metrics.rb

Instance Method Summary collapse

Constructor Details

#initialize(metrics = {}) ⇒ Metrics

Returns a new instance of Metrics.



5
6
7
8
# File 'lib/beagle/metrics.rb', line 5

def initialize(metrics={})
  @metrics = metrics
  @spec_types = @metrics.keys.sort
end

Instance Method Details

#get_bindingObject



10
11
12
# File 'lib/beagle/metrics.rb', line 10

def get_binding
  binding
end