words are case-INsensitive, variables remain case-sensitive

This commit is contained in:
Gwenhael Le Moine 2022-10-12 16:34:26 +02:00
parent 561ec1072a
commit a48d2ab6a6
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -68,7 +68,7 @@ class Dictionary
word ||= @vars[ name ]
# or is it a core word
word ||= @words[ name ].nil? ? nil : @words[ name ][:implementation]
word ||= @words[ name.downcase ].nil? ? nil : @words[ name.downcase ][:implementation]
word
end