From: "Hal E. Fulton" Date: 2002-04-19T21:39:57+09:00 Subject: Replacing groups of methods: How would *you* do this? Question for you. There is more than one way to do what I am wanting to do. Probably the "right" way is one I haven't thought of yet. Suppose I have a class where I consider a number of methods "pluggable" or "disposable." (If you're curious, these are UI-oriented; I'm writing an app with alternate user interfaces.) At first I thought: I'll make a module with the methods in it, then include it at runtime if/when I choose to. But then I realized that module instance methods don't replace class instance methods. Hmm. So I thought: I can write replacement methods in the same class and put them in separate files which I then include. But I don't really want to use separate files. What do you think? Hal Fulton