From: "Kumar R." Date: 2013-03-06T03:16:12+09:00 Subject: Re: Confusion with Ruby's "case/when" block statement Robert Klemme wrote in post #1100204: > On Mon, Mar 4, 2013 at 6:41 PM, Kumar R. wrote: >> Module#===) operator, which tests if the right-hand side is_a? left-hand >> side. The syntax is simple and elegant. > > Now, what do you want to know? Or is everything clear now? > > Cheers > > robert @Robert - that `is_a?` test actually made me confused. as `when` test for subclass or instance of or any thing valid . But how `is_a` doing help to the `while` clause that is my confusion. -- Posted via http://www.ruby-forum.com/.