From: Austin Ziegler Date: 2005-07-12T13:29:31+09:00 Subject: Re: Splitting source code On 7/11/05, Luke Worth wrote: > Hi. Coming from a c++/java background, i'm having a bit of trouble in > deciding how to split up source code. I currently have this: ... > This seems slightly dodgy to me... Would anyone do this some other way? > (like define in a module then include the module) I personally think that's very dodgy. In general, most people define Ruby in such a way as to logically place that which belongs together together. That may mean that there is more than one class defined in a single file. I find it very rare to find that a single class is defined over multiple files, except in the possible case of a C extension. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca