Hi,

  class Foo {}
  class Bar is Foo {}

  Bar.new.isa(Object);    # true
  Bar.new.isa(Class);     # false
  Bar.new.isa(Foo);       # true
  Bar.new.isa(Bar);       # true
  # These are clear, I think.

  Bar.isa(Object);        # true
  Bar.isa(Class);         # true
  Bar.isa(Foo);           # ? (my guess: false)
  Bar.isa(Bar);           # ? (my guess: false)


--Ingo

-- 
Linux, the choice of a GNU | We are Pentium of Borg. Division is futile.
generation on a dual AMD   | You will be approximated.  
Athlon!                    | 

Reply via email to