On Tue, 17 Aug 2004 23:17:52 +0900, Richard Kilmer <rich / infoether.com> wrote:
> On 8/17/04 10:04 AM, "Austin Ziegler" <halostatue / gmail.com> wrote:
> >> On Tue, Aug 17, 2004 at 10:31:15PM +0900, Richard Kilmer wrote:
> >>>> Why not offer both? That is, give the spec author a simple token that
> >>>> can be detected to stub everything in the lib directory?
> >>> Well, because is rather defeats the purpose of keeping the files out of the
> >>> site_ruby dir.
> > Well ... what's to stop me from listing all of my lib/* files anyway?
> Nothing stops you, but nothing forces you either. In most libraries, there
> is a main file to 'require' (which then requires the rest of the required
> files) and you document your library accordingly. At least, with the
> libraries I write, that is how I design them. I guess if your library was a
> random collection of a series of separate files that could individually be
> required or not, then stubbing every one would make some sense.
Well, I can think of one library (Gavin's Extensions) library that is
pretty much exactly that way.
-austin
--
Austin Ziegler * halostatue / gmail.com
* Alternate: austin / halostatue.ca