From: "SHIGETOMI, Takuhiko" Date: 2005-09-12T09:44:07+09:00 Subject: [Q] how to well-qualify the 2-inherited methods at their collision point dear guys, i'd like to ask you how to qualify the inherited methods from base class and mixed-in module at the collision point of inheritance, as below... module BaseModule def set_message( s ) @msg = s end def greeting puts "greetings: #{@msg}. this is BaseModule." end end 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? end end s = SubClass.new s.set_message( 'rubyists' ) s.greeting # ==> greetings: rubyists. this is BaseModule. i'd be happy if i could qualify their belongingness alike C++'s BaseModule::greeting BaseClass::greeting any hacky way would be welcome. best regards, xnfp://void/3d/universe/milky-way-galaxy/orion-arm/sol-solar-system/ 3rd-planet/fareast/jp/tky/shigetomi.takuhiko.5618