Sha256: e8708275040f04523a0d16a949d3ebab77c4af100669d556e169a3bd7dbc007f
Contents?: true
Size: 404 Bytes
Versions: 28
Compression:
Stored size: 404 Bytes
Contents
module MetricFu class RcovGrapher < Grapher attr_accessor :rcov_percent, :labels def initialize super self.rcov_percent = [] self.labels = {} end def get_metrics(metrics, date) if metrics && metrics[:rcov] self.rcov_percent.push(metrics[:rcov][:global_percent_run]) self.labels.update( { self.labels.size => date }) end end end end
Version data entries
28 entries across 28 versions & 5 rubygems