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

|Say I have something similar to:
|
|class Super
|  def m
|    print "Super#m\n"
|  end
|end
|
|class Sub < Super
|  def m
|    super
|    print "Sub#m\n"
|  end
|end
|
|s = Sub.new
|
|and want to redefine Super#m (as a singelton method?) in s. Is it
|possible?

class Super
  def m
    print "Super#m\n"
  end
end

class Sub < Super
  def m
    super
    print "Sub#m\n"
  end
end

s = Sub.new

def s.m
  super
  print "s.m\n"
end
s.m