From: "Haase, Konstantin" Date: 2010-11-27T17:43:13+09:00 Subject: [ruby-core:33423] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods On Nov 27, 2010, at 06:10 , Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [ruby-core:33396] Re: [Ruby 1.9-Feature#4085][Open] Refinements and nested methods" > on Fri, 26 Nov 2010 11:24:43 +0900, Shugo Maeda writes: > > |Matz doesn't like it, but I think it's worth considering. > |However, it's a problem that we have main#include, where main is self > |at the top-level, but not Kernel#include now. > > If we introduce local rebinding, I think we have to rename it to > "classbox" from "refinement". Besides that, we sill have lot of > issues about implementation, performance, etc. But I believe, Shugo, > you are the key person. I am the one who approve. > > matz. > So, is local rebinding still on the table? From my point of view local rebinding is far more intuitive and there are some use cases I am not sure I could solve without local rebinding. Konstantin