Caleb Tennis wrote:
> When using a singleton class (one that includes Singleton, not an
> eigenclass), can anyone think of any advantage/disadvantage to using
> class variables over instance variables (or visa versa) to access
> data in the class?
I would recommend using class instance variables,
but the only reason I can think relates to resource
control and instance instantiation. For the typical
case one could just as well use classes and class
instance methods.
> Thanks,
> Caleb
E
--
Posted via
http://www.ruby-forum.com/.