case bla
when Foo
end

calls Foo === bla, not bla === Foo
-- 
Sylvain Joyeux