Sha256: 2f619e33b596c53fcbb40be48ee19af415ec848a956d37d4fb169be3394013d0
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
module Minitest module Flog class Test < ::Minitest::Test include Assertions attr_accessor :flog def self.runnable_methods methods_matching(/^flog_/) end 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minitest-flog-0.1.0 | lib/minitest/flog/test.rb |