I know how to do this:
%w(doc ppt xls).include?(fileext)
I now need something similar but the match terms have spaces in them. I’ve tried
%w("blah blah" "yada yada" "wowowow").include?(actiontype)
Goal here is to see if actiontype exists inside one of the quotes or not. Ideas?
Thanks
1 Answer