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

Version Path
jscruggs-metric_fu-0.8.9 lib/metric_fu/roodi.rb
jscruggs-metric_fu-0.9.0 lib/metric_fu/roodi.rb
leh-metric_fu-0.9.2 lib/metric_fu/roodi.rb
nielsm-metric_fu-0.9.0 lib/metric_fu/roodi.rb
nielsm-metric_fu-0.9.1 lib/metric_fu/roodi.rb
p8-metric_fu-0.8.0.16 lib/metric_fu/roodi.rb
p8-metric_fu-0.8.4.16 lib/metric_fu/roodi.rb
p8-metric_fu-0.8.9.1 lib/metric_fu/roodi.rb
p8-metric_fu-0.8.9 lib/metric_fu/roodi.rb
p8-metric_fu-0.9.0 lib/metric_fu/roodi.rb