I have a question: Is there any opposite method of .include?
I know with unless
, but I want to do it with if
, can I? I tried with unless
:
unless variable.include?("something")
#..
end
I want to do it with if
, can I? I know .!include?
but it didn't work(i don't really know if this method exists, but I saw it in this forum).