From: Massimiliano Mirra Date: 2002-01-07T08:37:22+09:00 Subject: [ruby-talk:30383] Re: snippet exchange (was: Re: Re: chomp for arrays?) On Mon, Jan 07, 2002 at 03:05:51AM +0900, David Alan Black wrote: > > This is not limited to x[object].rb's but also regards idioms and > > solutions not pertaining to builtin classes extension. > See [ruby-talk:14556] for a kind of cry-from-the-deep about this from > last May. That cleared up the few remaining doubts about the need (or extreme usefulness if you prefer) of such a system. > I definitely see it as possible, especially if you're talking about > adding methods rather than changing methods. Actually I was aiming > for both in Ruby Behaviors (see [ruby-talk:18803], also my talk on > http://www.chadfowler.com/rubyconf.html), which may be why that > project is still resting comfortably in a pre-alpha-ish stage. (Aside > to David Simmons: finished selector namespaces for Ruby yet? :-) I've been hungry for Ruby Behaviours since I first saw mention of it. The ability to plug things into classes is one of the things I most love about Ruby and having something similar at the space level too would be just great. Massimiliano