From: Yehuda Katz Date: 2009-02-22T13:30:48+09:00 Subject: [ruby-core:22323] Re: YASNP (Yet Another Selector Namespace Proposal) The thing is that it's not a *real* block, but that might not matter since you can't capture it anyway. I'd hate for people to think it had closure semantics... Without a block, it's analogous to the class, module or def keyword, which are perfectly clear. I'm fine either way though. Sent from my iPhone On Feb 21, 2009, at 9:35 PM, Aaron Patterson wrote: > On Sun, Feb 22, 2009 at 04:34:18AM +0900, Jim Weirich wrote: >> On Feb 20, 2009, at 8:39 AM, Yehuda Katz wrote: >>> - no special namespace keyword; any module can be a namespace >> >> +1 >> >> I like this much better than giving the use command its own block. > > +1 as well, but I like the block. For me, it seems to be more clear > as > to what is going on. > > use Merb::String => String do > "bla blah".some_special_merb_only_method > end > > "bla blah".some_special_merb_only_method # => doh! doesn't exist > > -- > Aaron Patterson > http://tenderlovemaking.com/ >