In Ruby, how would I return true if a string is not in an array of options?
# pseudo code do_this if current_subdomain not_in [\"www\", \"blog\", \"foo\", \"
I find this approach most readable !'foo'.in?(['bar', 'baz'])
!'foo'.in?(['bar', 'baz'])