From: "Berger, Daniel" Date: 2005-10-18T23:24:05+09:00 Subject: Re: declaratively caching results of a method > -----Original Message----- > From: Pit Capitain [mailto:pit@capitain.de] > Sent: Tuesday, October 18, 2005 8:21 AM > To: ruby-talk ML > Subject: Re: declaratively caching results of a method > > > Berger, Daniel schrieb: > >> (accessing the memoize cache) > > > > Alrighty, then. I'll make that change in the next release. > > My code was meant as a quick hack for the OP to be able to experiment > with the cache. I wouldn't include it in the library, though, > because I > don't like polluting the namespace with those additional methods. Hm...ok, then I could just return the cache itself, as Sean originally suggested. Not as slick, but it does avoid namespace pollution. Dan