From: Joe Ruby MUDCRAP-CE Date: 2006-11-05T04:24:12+09:00 Subject: Accessing instance vars in a block? I'm using rmagick: img.write(self.path) { self.quality = @quality } @quality is nil inside the block. How can I access its value inside the block? I saw there's apparently a "variable" keyword, but that causes an error: img.write(self.path) { variable @quality self.quality = @quality } Thanks, Joe -- Posted via http://www.ruby-forum.com/.