Hello,

I would like to have a confirmation about the fact that singleton
variables just don't have any meaning, or an explation about how to use
them.
An example to be sure that we are talking about the same thing :

class A

  @class_instance_variable

  class << self  #or class << A

    @singleton_variable # <- Can this be used/called elsewhere ?

    def some_method
      @class_instance_variable
    end

  end

end

Thanks
-- 
Posted via http://www.ruby-forum.com/.