From: Alex Schearer Date: 2007-01-20T02:55:35+09:00 Subject: Declaring instance variables dynamically Coming from PHP I want to take a class say, class User @name end And call it: u = User.new And then add a second class variable previously not declared: u.mood = "happy" PHP being what it is, it let you declare public class variables in that manner. Is there a way to acheive the same in Ruby? -- Posted via http://www.ruby-forum.com/.