On Mon, Sep 12, 2005 at 09:44:07AM +0900, SHIGETOMI, Takuhiko wrote: [...] > class BaseClass > def greeting > puts "hello. this is BaseClass." > end > end > > class SubClass < BaseClass > include BaseModule > def greeting # <== collision point of 2-inherited 'greeting' > super # <== calling BaseModule#greeting > # <== so, how can i call the BaseClass#greeting? BaseClass.instance_method(:greeting).bind(self).call > end > end > > s = SubClass.new > s.set_message( 'rubyists' ) > s.greeting # ==> greetings: rubyists. this is BaseModule. -- Mauricio Fernandez