From: Logan Capaldo Date: 2007-08-17T08:07:45+09:00 Subject: Re: Lazy function definition pattern in Ruby? On 8/16/07, dblack@rubypal.com wrote: > Hi -- > > On Fri, 17 Aug 2007, Logan Capaldo wrote: > > > On 8/16/07, dblack@rubypal.com wrote: > >> A possible problem with that code is that it only works for one > >> instance of Bar: > > > > That's easily fixable, just s/@/@@/ > > As long as you don't want to do the same thing in a subclass.... Everything is a tradeoff.