On Tue, Mar 5, 2013 at 7:16 PM, Kumar R. <[email protected]> wrote: > Robert Klemme wrote in post #1100204: >> On Mon, Mar 4, 2013 at 6:41 PM, Kumar R. <[email protected]> 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?
> @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. Yes, you are confused. We were talking about "case ... when" and not "while". Module#is_a? and Module#=== implement the same test. I suggest you get yourself a Ruby tutorial and work through it start to end - including all the exercises. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- [email protected] | https://groups.google.com/d/forum/ruby-talk-google?hl=en --- You received this message because you are subscribed to the Google Groups "ruby-talk-google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
