Sha256: f71caa6e4cec6bfa0806aeaef50452d056e888dab608ffa8c6936584bc768b7b
Contents?: true
Size: 522 Bytes
Versions: 1
Compression:
Stored size: 522 Bytes
Contents
module MetricFu ROODI_DIR = File.join(MetricFu::BASE_DIRECTORY, 'roodi') def self.generate_roodi_report MetricFu::Roodi.generate_report(ROODI_DIR) system("open #{ROODI_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
p8-metric_fu-0.8.4.15 | lib/metric_fu/roodi.rb |