From: Spitfire Date: 2006-12-22T19:35:06+09:00 Subject: Re: class method Gregor Kopp wrote: >> sample = [1,2,3] >> p sample.class #=> Array >> p sample.is_a?(Array) #=> true > > isa? makes checks with .class in the Background automagically. so what is exactly happening when I type sample.class.is_a?... -- _ _ _]{5pitph!r3}[_ _ _ __________________________________________________ �I'm smart enough to know that I'm dumb.� - Richard P Feynman