Module: Expri

Defined in:
lib/expri.rb,
lib/expri/dumper.rb,
lib/expri/metric.rb,
lib/expri/metric_set.rb

Defined Under Namespace

Classes: Dumper, Metric, MetricSet

Class Method Summary collapse

Class Method Details

.metrics(options = {}, &block) ⇒ Object



9
10
11
12
# File 'lib/expri.rb', line 9

def self.metrics(options={}, &block)
  options[:verbose] ||= true
  MetricSet.new(options).run(&block)
end