From: Trans Date: 2006-08-09T04:35:10+09:00 Subject: Re: application structure John Gabriele wrote: > If you start creating subdirectories in your lib dir, I don't think > the classes therein need to have any relationship to the other > classes. You would simply note the extra directory in your require > statements in your code: "require 'vecmath/matrix'", require > 'crystal/tetrahedron'", or whatever. The subdirectories are only there > to help you keep organized, and aren't required. Not so. You should be thoughtful about what you put in the toplevel. It's very easy to wipe out someone elses file this way. In general you should ALWAYS put your files in a subdir named after your project. And if need be, have one .rb file with the same name that the lib's user can require. Other than that there is no standard. Organize your files and their contents as you like. T.