Class: Beagle::Metrics
- Inherits:
-
Object
- Object
- Beagle::Metrics
- Defined in:
- lib/beagle/metrics.rb
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(metrics = {}) ⇒ Metrics
constructor
A new instance of Metrics.
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_binding ⇒ Object
10 11 12 |
# File 'lib/beagle/metrics.rb', line 10 def get_binding binding end |