Sha256: a32cad4eac4912a632ba3cab40d90a82245290ae161f620478e5d27c0df679a9
Contents?: true
Size: 449 Bytes
Versions: 7
Compression:
Stored size: 449 Bytes
Contents
module MetricFu def self.generate_roodi_report 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
7 entries across 7 versions & 1 rubygems