From: "James B. Byrne" Date: 2006-02-18T07:00:13+09:00 Subject: Re: Ruby script to Module/Class refactor James B. Byrne wrote: > There appears to be something wrong with either my appreciation of how > Syslog is supposed to work, with its implementation, or with how I > understand class variables are preserved. > I misunderstood where @@variables have to be declared. I moved @@logid from the initialize method into the class definition and thereafter.log worked as I intended. -- Posted via http://www.ruby-forum.com/.