From: Ralph Shnelvar Date: 2010-08-04T14:17:17+09:00 Subject: Monkey Patching, passing in extra data, FXRuby bug ------------66171C417B9CCD7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Because of an apparent bug in FXRuby/Fox/Something that causes a segmentation fault ... I am looking for a workaround to a problem. FXRuby defines a class FXTreeItem. That class has an instance method for the spaceship operator .... <=> And the spaceship operator is called by FXTreeList to sort the child node of the Tree for display. What I want to do is monkey patch the spaceship operator with my own spaceship operator ... but I need to pass in extra information so that I can force the proper sorting order. I don't control how FXTreeList calls the the spaceship operator. I would be grateful for suggestions on how to do this the Ruby way. ------------66171C417B9CCD7--