From: Lucas Carlson Date: 2005-04-12T14:04:38+09:00 Subject: Re: [ANN| Bayesian Classification for Ruby > I'd even suggest removing the individual #train_... methods. It makes > the API simpler, and how many characters do they save anyway. Plus > consider these use cases: 1) category names are changed; 2) name of > categories contain whitespaces, etc; 3) there are 1000+ categories. 1) Category names can't change, but even if they could, this is implemented via method_missing 2) I have elegantly handled white spaces in category names 3) This is implemented via method_missing, not define_method, so objects don't get bloated