From: "Jan E." Date: 2012-09-16T07:13:20+09:00 Subject: Re: Class variables or class singleton variables? Damián M. González wrote in post #1076189: > Of course is better use attr_accessor but is just for understanding > purpose. Yes, those code snippets all do the same (the second one requires the class to already exist, however). So there are obviously many ways to do the same thing in Ruby. :-) -- Posted via http://www.ruby-forum.com/.