Skip to content

Commit 90e156a

Browse files
committed
Rename argument to make it clearer
1 parent 2ee9831 commit 90e156a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/benchmark_runner.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ module BenchmarkRunner
99
module_function
1010

1111
# Find the first available file number for output files
12-
def free_file_no(prefix)
12+
def free_file_no(directory)
1313
(1..).each do |file_no|
14-
out_path = File.join(prefix, "output_%03d.csv" % file_no)
14+
out_path = File.join(directory, "output_%03d.csv" % file_no)
1515
return file_no unless File.exist?(out_path)
1616
end
1717
end

0 commit comments

Comments
 (0)