From: matz@... (Yukihiro Matsumoto) Date: 2003-04-09T17:31:56+09:00 Subject: Re: instance_variable_set question Hi, In message "Re: instance_variable_set question" on 03/04/09, Phil Tomson writes: | |It _is_ a bit confusing, though - if you made an attr_accessor for @bar, |you refer to it as :bar, not :@bar : You're specifying attribute names (i.e. exporting method names), which does not contain "@" in them, not instance variable names. attr_accessor defines methods that use instance variables which names are "@"+attribute-name. matz.