Sha256: 314d79bab8cc5ca3958a373bbca33f06278bcb53d7983e6fb3b614275cee32f0
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
module MetricFu class RailsBestPracticesGrapher < Grapher attr_accessor :rails_best_practices_count, :labels def initialize super @rails_best_practices_count = [] @labels = {} end def get_metrics(metrics, date) @rails_best_practices_count.push(metrics[:rails_best_practices][:problems].size) @labels.update( { @labels.size => date }) end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
devver-metric_fu-1.3.3 | lib/graphs/rails_best_practices_grapher.rb |
flyerhzm-metric_fu-1.0.0 | lib/graphs/rails_best_practices_grapher.rb |