On Tue, 24 Jul 2001, Will Conant wrote:

> In Ruby, there's only one reasonable place to look for Array functions...
> in the Array class.

There's one exception to this... methods that are split between classes
or convert between classes.

Eg, "pack" is in Array and "unpack" is in String. Other examples, "grep"
in Enumerable, "join" in Array, "split" in String, etc.

They're very useful, but they're still spread across classes rather than
being encapsulated. This isn't too painful while there's only a few main
classes, but the number of connections and one-way streets would grow
exponentially with more classes.

-- 
  spwhite / chariot.net.au