MetricFu::Configuration.run do |config| coverage_file = File.expand_path("coverage/rcov/rcov.txt", Dir.pwd) config.add_metric(:rcov) config.add_graph(:rcov) config.configure_metric(:rcov, {:external => coverage_file}) end