Hi,

In message "[ruby-talk:5328] Re: Redefining super method as singleton?"
    on 00/10/09, Robert Feldt <feldt / ce.chalmers.se> writes:

|But I want something like
|
|# -> "Super#new_m\nSub#m\n"
|
|Without having to redefine m in Super for all instances of Sub.

No, you can't.  You can't tweak ancestors' hierarchy.
But you can:

  class <<s
    undef m
    def m
      puts "Super#new_m"
      puts "Sub#m"
    end
  end

I'm afraid this is not what you want.

							matz.