On Jun 29, 2006, at 12:13 PM, Jonas Pfenniger wrote:

> On 29/06/06, transfire / gmail.com <transfire / gmail.com> wrote:
>> subclass the legacy classes (?)
>
> No, change the classes themselves trough module inclusion.
>
> --  
> Cheers,
>  zimbatm
>
> http://zimbatm.oree.ch
>

trans was asking, if you wanted to use "super" why not just subclass  
them? Really, sometimes inheritance really is the solution.

That said, the usual way to wrap a method like that is:

class LegacyClass
   alias original_version_of_some_method some_method
   def some_method
     ...
     original_version_of_some_method(...) # effectively 'super'
   end
end