lib/metric_fu/flay.rb in p8-metric_fu-0.8.4.14 vs lib/metric_fu/flay.rb in p8-metric_fu-0.8.4.15
- old
+ new
@@ -7,10 +7,10 @@
end
class Flay < Base::Generator
def analyze
- files_to_flay = MetricFu.flay_options[:dirs_to_flay].map{|dir| Dir[File.join(dir, "**/*.rb")] }
+ files_to_flay = MetricFu.flay[:dirs_to_flay].map{|dir| Dir[File.join(dir, "**/*.rb")] }
output = `flay #{files_to_flay.join(" ")}`
@matches = output.chomp.split("\n\n").map{|m| m.split("\n ") }
end
end
\ No newline at end of file