Parent

Methods

MetricFu::FlayBluffGrapher

Public Instance Methods

graph!() click to toggle source
# File lib/graphs/engines/bluff.rb, line 17
def graph!
  content =         #{BLUFF_DEFAULT_OPTIONS}        g.title = 'Flay: duplication';        g.data('flay', [#{@flay_score.join(',')}]);        g.labels = #{@labels.to_json};        g.draw();
  File.open(File.join(MetricFu.output_directory, 'flay.js'), 'w') {|f| f << content }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.