From: Eero Saynatkari Date: 2009-02-02T20:56:42+09:00 Subject: [ruby-core:21745] Re: [Feature #1084](Closed) request for: Array#sort_by! Excerpts from Kornelius Kalnbach's message of Mon Feb 02 13:32:33 +0200 2009: > Eero Saynatkari wrote: > > This seems to break expectations for Enumerable, since the > > method cannot be reasonably supported there (and #sort_by > > is still defined in Enumerable, as I understand it.) If it > > is to remain, I think this should be specifically noted in > > the documentation. Additionally, static as the Enumerable > > inclusion may be, definining a method that depends on a > > mixin seems a bit awkward: perhaps Array should define its > > own #sort_by? > > matz only added Array#sort_by!. Exactly why I am asking :) Eero -- Magic is insufficiently advanced technology.