John W. Long wrote:

> You could always assign some new constants to them:
>
> True = TrueClass
> False = FalseClass
>
> case y
>   when Integer
>   when True, False
> end


Or just use the literal constants, that already exist:
 
case y
  when Integer
  when true, false
end

-- 
Florian Frank