mirror of
https://github.com/array-in-a-matrix/public-apis.git
synced 2025-04-02 11:11:50 -04:00
convert char to upcase for sort check
This commit is contained in:
parent
c8525b2f6d
commit
4a0d7cd78c
1 changed files with 1 additions and 1 deletions
|
@ -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 |
|
||||
|
|
Loading…
Add table
Reference in a new issue