From: Nobuyoshi Nakada Date: 2007-08-24T10:30:10+09:00 Subject: Re: accessor_writer methods and instance_eval Hi, At Fri, 24 Aug 2007 08:40:08 +0900, Thomas Gantner wrote in [ruby-talk:266021]: > Is there a way to avoid this behaviour without using 'self.a' or passing the > struct as a parameter into the block (which quite obsoletes the meaning of > instance_eval)? Nothing. It's one of reasons why using instance_eval for such purpose is not a good idea. -- Nobu Nakada