nothing ... is just calls ===

in your case:
case num
when Numeric

it calls Numeric === num which returns true for num = 10

this one works too:

case
when false
p "wrong"
when true
p "right"
end
#=> "right"


or you can use other formula, it will break if it find something that is 
evaluated into true or when used something in the case statement, wich 
is result === case_value

-- 
Posted via http://www.ruby-forum.com/.