if foo = 1 || foo == 2 || foo == 3
 bar
end
をもちっとコンパクトに書けんかの

if [1, 2, 3].include?(foo)
 bar
end
だとなんかイモい

case foo
when 1, 2, 3
 bar
end
もなんかイモい

if foo is 1 || 2 || 3
 bar
end
とかかけたらな