Sha256: 0bce7c7d0d1dde8c51264c47c2174861e2dbb6e6d2a9a56b34bc3cb695ceff30

Contents?: true

Size: 450 Bytes

Versions: 1

Compression:

Stored size: 450 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

1 entries across 1 versions & 1 rubygems

Version Path
indirect-metric_fu-0.9.0 lib/metric_fu/roodi.rb