I want to know what\'s the best way to make the String.include? methods ignore case. Currently I\'m doing the following. Any suggestions? Thanks!
String.include?
For an array, use:
array.map(&:downcase).include?(string)
Regexps are very slow and should be avoided.