From: Brian Candler Date: 2007-02-23T19:30:55+09:00 Subject: Re: Ruby's "case" doesn't behave like a normal switch On Fri, Feb 23, 2007 at 02:05:10PM +0900, Guillaume Nargeot wrote: > > case x > > when "this", "that" > > func_this_that() > > when "nothing" > > # something different > > end > > Thank you very much !!! > I thought I tested everything, but obviously not this one. > I didn't even find anything about it in the official documentation. http://www.rubycentral.com/book/tut_expressions.html Search down to the section headed "Case Expressions"