Hi --

On Tue, 19 Jun 2007, Mark Somerville wrote:

> On Tue, Jun 19, 2007 at 09:05:38PM +0900, Robert Dober wrote:
>> Look at this slightly adapted code just using Class Instance Variables.
>> Does this solve your problem?
>
> It does! I wasn't aware that there are class instance variables as well as
> class variables.

Anything that can be 'self' can have instance variables :-)


David

-- 
* Books:
   RAILS ROUTING (new! http://safari.awprofessional.com/9780321509246)
   RUBY FOR RAILS (http://www.manning.com/black)
* Ruby/Rails training
     & consulting:  Ruby Power and Light, LLC (http://www.rubypal.com)