class Minitest::Flog::Test

Attributes

flog[RW]

Public Class Methods

runnable_methods() click to toggle source
# File lib/minitest/flog/test.rb, line 8
def self.runnable_methods
  methods_matching(/^flog_/)
end

Public Instance Methods

detail_report() click to toggle source
# File lib/minitest/flog/test.rb, line 12
def detail_report
  path = File.expand_path(self.dir)
  result = "\n  #{ path }:\n"
  flog.each_by_score do |method, score, list|
    break if score < self.threshold
    result << sprintf("  %8.1f  %s\n", score, method)
  end
  result
end