uncommented printing output file naem

threading
s00ner 2020-11-15 21:19:37 +00:00
parent 4e1b862586
commit d40b0ae985
1 changed files with 1 additions and 1 deletions

2
sorter.rb Executable file → Normal file
View File

@ -127,7 +127,7 @@ def process_file (file_name, binfile, type)
bins = Hash.new #This hash stores the bins
outfile = file_name
outfile.slice!('.txt')
#puts outfile
puts outfile
output[:filename] = outfile
csv.each { |bin| bins[bin[0]] = bin[1..].compact } #turn the csv array into a hash, remove nils
bins.each_key do |bin_number|