--- sairam MP <sai438 / gmail.com> wrote: > class Foo > attr_accessor :bar > > > def foo > self.bar = 1 > > > if false > bar = 2 # never executed > end > > > p self.bar # prints 1 > p bar # prints nil > end > end > > -- > Posted via http://www.ruby-forum.com/. > > ____________________________________________________________________________________Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz