From: Stefano Zacchiroli Date: 2007-01-22T17:11:49+09:00 Subject: Re: module global variables On Mon, Jan 22, 2007 at 10:07:54AM +0900, Mike Kasick wrote: > > I also found the same example in the pickaxe book (in which sometime > > it's difficult to find what you were looking for from the index ...), > > and now I've a clearer understanding of its meaning. > Where is this discussed in pickaxe (which page number)? Page 374. Note that the discussed topic is not "module instance variables", but rather the class << self trick for associating a class with the self object (which in the pickaxe case is a class object). AFAIU the same is done in the solution proposed to me, but with a module object instead of a class object. Correct me if my understanding is wrong. Cheers. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/ (15:56:48) Zack: e la demo dema ? /\ All one has to do is hit the (15:57:15) Bac: no, la demo scema \/ right keys at the right time