Complete ruby noob.
I have a value which I want to check against several numbers (1,4,7) and if it equals any of them, return false.
right now I'm using:
if $my_variable_class[1] != 1 && $my_variable_class[1] != 4 && $my_variable_class[1] != 7
I've got a shit-ton of numbers to check for inequality against. Is there a more efficient way to handle this?