mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
convert char to upcase for sort check
This commit is contained in:
@@ -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