Sha256: dba0b00710d4b725592d5f39cc625a499be595e1d2009949856aa59a4cb7a5e4
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
indirect-metric_fu-0.9.0 | lib/metric_fu/flay.rb |