I have the following code fragment:

i = 1
j = case i
 when 1
  true
 else
  false
 end

I would expect j to equal true after the run, but it equals nil. If I
change the return values to anything else but true and false, it works
as expected. Am I missing some special handling of true and false?
Thanx.
-- 
Posted via http://www.ruby-forum.com/.