Is there a method that let me compare one String with multiple others in Ruby? I really would like to do something like this:
myString.eql?(["string1","string2","string3"])
["string1","string2","string3"].include? myString
1.4m articles
1.4m replys
5 comments
57.0k users