From: Daniel Lucraft Date: 2008-03-07T02:36:38+09:00 Subject: Re: Cloning a module and isolating it from the clone 7stud -- wrote: > 1) You never cloned A. All you did was create two separate modules > which have similar methods. Identical methods in fact. Earle said that he wanted identical implementations with only one piece of source code. That's the first part of my post where A and B have an identical definition but are completely distinct modules. > 2) Then you manually overwrote the method in B to do something else. This was just to demonstrate that in this implementation, you can change something in B without it affecting A. Which it didn't. Class variable changes don't affect the other module either. I'm not sure what other requirements than these Earle had. best, Dan -- Posted via http://www.ruby-forum.com/.