Sha256: aaec44d24fecd73625a7e9fd39729a7a2abfef647d098a34b703709338adfeea
Contents?: true
Size: 353 Bytes
Versions: 4
Compression:
Stored size: 353 Bytes
Contents
require 'erb' module MetricFu class FlayReporter < Base::Generator def analyze files_to_flay = MetricFu::CODE_DIRS.map{|dir| Dir[File.join(dir, "**/*.rb")] } output = `flay #{files_to_flay.join(" ")}` @matches = output.chomp.split("\n\n").map{|m| m.split("\n ") } end def template_name 'flay' end end end
Version data entries
4 entries across 4 versions & 2 rubygems