Sha256: 655d90ce7c056b03a7511e60f6d28412fac29c3af652f1b838f6e49f833abc8c
Contents?: true
Size: 443 Bytes
Versions: 4
Compression:
Stored size: 443 Bytes
Contents
MetricFu.metrics_require { 'flay/flay_grapher' } module MetricFu class FlayBluffGrapher < FlayGrapher def graph! content = <<-EOS #{BLUFF_DEFAULT_OPTIONS} g.title = 'Flay: duplication'; g.data('flay', [#{@flay_score.join(',')}]); g.labels = #{@labels.to_json}; g.draw(); EOS File.open(File.join(MetricFu.output_directory, 'flay.js'), 'w') {|f| f << content } end end end
Version data entries
4 entries across 4 versions & 1 rubygems