From: Chris Morris Date: 2002-09-04T00:48:44+09:00 Subject: Re: How do you manage your own library? was: RE: cgi redirect > How do you guys manage your own "enhancements" to ruby? Say you've > got a number of "pet" definitions, redefinitions, etc. to standard > ruby library classes; where do you put them? In separate files that > you include later, or 1 big one, or something else? http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/scrapware/scrapware/ruby/cl/u til/ I organize them all into their own files, then include them when I need them. For example, I've got a small collection of things handy for windows -- I have them in a file called win.rb, and my installer puts them in site_ruby\1.6\cl\util, so whenever I need them: require 'cl/util/win' I've also got an in-house library on the job that also has an installer and what-not. This also allows me to include the latest win32ole.so when I need it, plus other libs and blah blah blah. Chris http://clabs.org