From: come Date: 2007-03-07T18:05:15+09:00 Subject: Re: Ruby and MS WORD Hi, class WIN32OLE_METHOD def <=>(other) self.to_s <=> other.to_s end end and word.ole_methods.sort work. On 3 mar, 07:09, "carlos tirado" wrote: > + Open a doc through IRB (see sample code below), and inspect objects > by something like word_object.ole_methods (sadly you can't .sort them)