>>>>> "T" == T Onoma <transami / runbox.com> writes: T> superclass: xM [S, M, MC, Object, Kernel] svg% cat b.rb #!./ruby -v class MC def happy; print "C"; super if defined?(super); end end module M def happy; print "M"; super if defined?(super); end end class S < MC include M def happy; print "x"; super if defined?(super); end end s = S.new print "superclass: "; s.happy print "\t", class << s; self; end.ancestors.inspect; puts svg% svg% b.rb ruby 1.8.1 (2003-11-30) [i686-linux] superclass: xMC [S, M, MC, Object, Kernel] svg% Guy Decoux