From d40b0ae9853ecb6d5d479ea121a7a3cdba00323c Mon Sep 17 00:00:00 2001 From: s00ner Date: Sun, 15 Nov 2020 21:19:37 +0000 Subject: [PATCH] uncommented printing output file naem --- sorter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 sorter.rb diff --git a/sorter.rb b/sorter.rb old mode 100755 new mode 100644 index 4cf8991..f4bd429 --- a/sorter.rb +++ b/sorter.rb @@ -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|