From: "Hal E. Fulton" Date: 2002-09-04T02:27:52+09:00 Subject: Re: How do you manage your own library? was: RE: cgi redirect ----- Original Message ----- From: "Michael Campbell" To: "ruby-talk ML" Sent: Tuesday, September 03, 2002 9:47 AM Subject: How do you manage your own library? was: RE: cgi redirect > > In Ruby, you can always add the method you want to CGI dynamically: > ... > > 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? How do I do it? Answer: Badly. I've thought about organizing all these tidbits, but have never done it. Usually I just think: When was the last time I used that trick? Then I go and cut/paste the code. Hope Dave Thomas isn't reading this. DRY, and all that... I do like the idea of doing this well, but my meta-coding usually takes a back seat to my coding. Hal