Matt Armstrong <matt / lickey.com> wrote:
> Martin DeMello <martindemello / yahoo.com> writes:

>> I'm trying to provide an extension to Range that is only valid
>> within the context of a few classes

> This is not a simple task, but work has been done on it.  See the
> following Ruby Behaviors link.

> http://uweb.superlink.net/~dblack/ruby/behaviors/
> http://www.rubyconf.org/2001/talks/behaviors/example.html

Ah, thanks - harder than I thought it'd be. And thanks for the explanation
of the module thing too. 

-- 
Martin DeMello