Module: Metrical

Extended by:
Metrical
Included in:
Metrical
Defined in:
lib/metrical.rb,
lib/metrical/options.rb,
lib/metrical/version.rb

Defined Under Namespace

Modules: Options

Constant Summary collapse

VERSION =
"0.1.0"

Instance Method Summary collapse

Instance Method Details

#run(argv) ⇒ Object



15
16
17
18
19
20
21
22
23
# File 'lib/metrical.rb', line 15

def run(argv)
  options = Options.parse(argv)
  load_defaults
  set_new_rcov_defaults
  load_user_configuration
  disable_metrics(options)
  run_metric_fu
  open_in_browser if options[:open]
end