From: Masaki Suketa Date: 2004-11-13T11:23:20+09:00 Subject: Re: win32ole and ole_methods Hello, In message "Re: win32ole and ole_methods" on 04/11/12, gabriele renzi writes: > > That seems a little overkill, why not just some_array.sort { |a, b| > > a.name <=> b.name } > > > > well, but why should'nt it have a reasomnable default for the sort > routine? I'm for defining <=>, for what my opinion counts If I can define the reasonable "<=>" method and it should have the "<=>" method, then I am going to implement it. So, I have a question. Which is the reasonable WIN32OLE_METHOD#<=>, method1.name <=> method2.name or method1.dispid <=> method2.dispid? Is the former reasonable? Regards, Masaki Suketa