From: ts Date: 2002-07-18T01:37:03+09:00 Subject: Re: which class variable is set here ? >>>>> "F" == Fritz Heinrichmeyer writes: F> is not set in the context of a method so there will be set an object F> variable from .. which class? Well, just try it pigeon% cat b.rb #!/usr/bin/ruby class A @@a = 12 def tt p @@a end def self.tt p @@a end end A.tt A.new.tt pigeon% pigeon% b.rb 12 12 pigeon% Guy Decoux