Sha256: 1844f8b89ab32136a0f15fc59029a20846a17af9035cb2c558d07baa613da19e
Contents?: true
Size: 439 Bytes
Versions: 16
Compression:
Stored size: 439 Bytes
Contents
module MetricFu def self.generate_flay_report Flay.generate_report system("open #{Flay.metric_dir}/index.html") if open_in_browser? end class Flay < Base::Generator def analyze files_to_flay = MetricFu.flay[:dirs_to_flay].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 end end
Version data entries
16 entries across 16 versions & 4 rubygems