convert char to upcase for sort check
This commit is contained in:
1 parent
c8525b2f6d
commit
4a0d7cd78c
1 file changed
+1
-1
@@ -47,7 +47,7 @@ File.foreach(filename).with_index do | line, line_num |
|
||||
end
|
||||
|
||||
# char to check is the first char in the first column
|
||||
check_char = line.split("|")[1].strip[0]
|
||||
check_char = line.split("|")[1].strip[0].upcase
|
||||
section_to_entries[section].push(check_char)
|
||||
end
|
||||
sections.each do | sect |
|
||||
|
||||
Reference in new issue
Block a user