From: Chris Morris Date: 2002-09-14T04:29:12+09:00 Subject: Re: General ?s about a couple of Ruby features > Modifying class A is useful when: > a) there is a bug in class A and we want to fix the bug without > shutting down the application. > b) class A is missing a method that a method in class B needs to have > defined in order to accept an object of class A as a parameter. > c) for creating delegate objects (objects that intercept method calls > and pass them onto another object) without using method_missing. It's also handy because it allows you to break out your class and module code into different files if necessary. This is more common perhaps using modules for namespaces. If I have 12 classes in 12 files, but want them all in the same module/namespace, no problem. Chris