From: 7stud -- Date: 2007-09-12T18:53:57+09:00 Subject: Re: module_function :func vs. MyModule.func? Pe単a, Botp wrote: > do not forget third use of module_function since it's one of the nifty > features.. > > 3) being able to change the module methods (or module "functions" so to > speak) independently of the original methods. Remember, module functions > are copies of the original, > > ergo you can just modify the copies... > A new twist! I'll quote your original example: (I guess I won't--it's too long) How does that work? You add a new instance method with the same name as an existing instance method to the module, and somehow the new instance method overwrites the old one, and the old instance method gets promoted to a "class" method? -- Posted via http://www.ruby-forum.com/.