From: "Barnett, Aaron" Date: 2001-07-20T04:28:03+09:00 Subject: [ruby-talk:18144] Re: instance variables by name? ah! 'says=' becomes defined when i set it as attr_writer, not exactly what i wanted to do, i wanted to protect direct access and have this method control it. i'd also like to do something similar for reading. i'm doing this because i want to filter certain values. aaron -----Original Message----- From: Barnett, Aaron Sent: Thursday, July 19, 2001 3:24 PM To: ruby-talk@ruby-lang.org Subject: [ruby-talk:18142] Re: instance variables by name? > self.send(name+"=", value) thanks for the reply, i tried it and i get... undefined method `says=' for #