From: Gavin Kistner Date: 2011-08-22T02:48:07+09:00 Subject: Re: Gritty Details of super() On Aug 21, 2011, at 11:21 AM, luke gruber wrote: > But the issue I ran into was calling super in a singleton method of a > class object ie: Someclass.somemethod(), and hoping that my included > module that also defined a singleton method would catch the call to > super(). This isn't related to super so much as it is the nature of inheritance and modules in Ruby. See this diagram: http://phrogz.net/RubyLibs/RubyMethodLookupFlow.png If you want inheritance for singleton methods of an object from a module you must _extend_ the object with a module defining _instance_ methods. For example: module Foo def self.included(klass) klass.extend(ClassMethods) end module ClassMethods def bar; …; end end end class Bar include Foo end Bar.bar (typed on the phone; forgive untested errors)