Here is a Ruby gotcha: String comparison is case sensitive.
If you need to sort a hash, for example, based on say “name,” you can do:
Δ
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Got something to say?