Hi, 2010/11/26 Haase, Konstantin <Konstantin.Haase / student.hpi.uni-potsdam.de>: >>> Do we need Kernel#refine? >> >> I want it. > > What would be the difference between Kernel#refine and Module#prepend? > I mean, what point do local refinements have in a global scope? Kernel#refine doesn't refine classes in a global scope, but in a file or method scope. If you call Kernel#refine at the top-level, the refinements are enabled only in that file. If you call Kernel#refine in a method, the refinements are enabled only in the method. -- Shugo Maeda