From: "David Alan Black" <dblack / candle.superlink.net> > > This probably seems like a strange thing to do, but here is the > > reason. I want to subclass com objects using RubyCOM so that I can > > add methods to existing com objects. These objects are then exposed > > as the originals. This means you can extend objects written in > > other languages using ruby, a very desirable thing to do with legacy > > code. > > I have no Win32OLE experience at all... but could you do: > > w = Win32OLE.new("myserver.myclass") > class << w > # new methods > end > I could do that but I need to be able to do Someclass.new() to create an instance of the subclass.