From: Stefan Schmiedl Date: 2001-11-18T11:56:57+09:00 Subject: [ruby-talk:25737] Re: Would like feedback on script to remove unused import statements in java ts (2001-11-18 00:14): > use instance variable > > class Foo > @foo, @bar = "Root", 66 > class << self > attr_reader :foo, :bar > end > end > > p [Foo.foo, Foo.bar] > That's neat! And it fits *perfectly* in a section of our upcoming book about ruby (http://www.dpunkt.de/buch/3-89864-151-1.html). Guy, may I add it? s. -- Stefan Schmiedl EDV-Beratung, Programmierung, Schulung Loreleystr. 5, 94315 Straubing, Germany Tel. (0 94 21) 74 01 06 Public Key: http://xss.de/stefan.public shhhh ... I can't hear my code!