Sha256: 58ea13b612eceee701f189088f46b456ba6aec0da67ac14c394d4c9dc3697e0b
Contents?: true
Size: 376 Bytes
Versions: 28
Compression:
Stored size: 376 Bytes
Contents
module MetricFu class FlayGrapher < Grapher attr_accessor :flay_score, :labels def initialize super @flay_score = [] @labels = {} end def get_metrics(metrics, date) if metrics && metrics[:flay] @flay_score.push(metrics[:flay][:total_score].to_i) @labels.update( { @labels.size => date }) end end end end
Version data entries
28 entries across 28 versions & 5 rubygems