From: Hans Mackowiak Date: 2013-03-04T06:14:39+09:00 Subject: Re: Confusion with Ruby's "case/when" block statement 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/.