From: ts Date: 2003-01-23T01:55:01+09:00 Subject: Re: accessors for module instance vars >>>>> "M" == Mauricio =?iso-8859-1?Q?Fern=E1ndez?= writes: M> It works because B < A but B.class is _not_ derived from A.class :) so What do you want to say with this ? pigeon% cat b.rb #!/usr/bin/ruby class A; end class B < A; end; p (B < A) p ((class << B; self; end) < (class << A; self; end)) pigeon% pigeon% b.rb true true pigeon% Guy Decoux