Sha256: 06e4743adff8db36772efa5056887b9c85d4b67cd257c804e2b94358070a9225
Contents?: true
Size: 459 Bytes
Versions: 10
Compression:
Stored size: 459 Bytes
Contents
module MetricFu def self.generate_roodi_report MetricFu::Roodi.generate_report system("open #{Roodi.metric_dir}/index.html") if open_in_browser? end class Roodi < Base::Generator def analyze files_to_analyze = MetricFu.roodi[:dirs_to_roodi].map{|dir| Dir[File.join(dir, "**/*.rb")] } output = `roodi #{files_to_analyze.join(" ")}` @matches = output.chomp.split("\n").map{|m| m.split(" - ") } end end end
Version data entries
10 entries across 10 versions & 4 rubygems