lib/minitest/test_task.rb in minitest-5.16.3 vs lib/minitest/test_task.rb in minitest-5.17.0
- old
+ new
@@ -275,22 +275,22 @@
args.join " "
end
end
end
-class Work < Queue
- def initialize jobs = []
+class Work < Queue # :nodoc:
+ def initialize jobs = [] # :nodoc:
super()
jobs.each do |job|
self << job
end
close
end
end
-class Integer
+class Integer # :nodoc:
def threads_do(jobs) # :nodoc:
require "thread"
q = Work.new jobs
self.times.map {