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