From: Martin DeMello Date: 2002-03-05T21:20:06+09:00 Subject: Re: modules and types Matt Armstrong wrote: > Martin DeMello 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