From: Jim Weirich Date: 2006-05-24T01:30:30+09:00 Subject: Re: initializing instance variables in a module Robert Klemme wrote: > This thread seems to have gone astray a bit but I didn't see this > solution which I regard the standard way to handle this. The important > part is to use initialize(*a,&b) in the module. I've put this on the > wiki for easier reference: > > http://wiki.rubygarden.org/Ruby/page/show/InitializingWithInheritance Nice writeup. I especially like that you captured the need to tranparently pass arguments thru the module initializer. That's easy to miss at first glance. -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.