From: "Mauricio Fernández" Date: 2005-11-03T02:26:53+09:00 Subject: Re: ruby-dev summary 27393-27541 On Wed, Nov 02, 2005 at 10:52:57PM +0900, David A. Black wrote: > That's similar to what I did in Ruby Behaviors, but with an "off" > switch for the non-block version: > > # Block > b.adopt do > ... > end > > # No block > b.adopt > ... > b.desist > > (where b is a Behavior object) > > Of course, Ruby Behaviors had some issues, especially thread safety -- > which is what got the discussion going about selector namespaces at > RubyConf 2001 :-) Wasn't Ruby Behaviors dynamically scoped though? It seems Ruby's selector namespaces are more likely to be static. -- Mauricio Fernandez