From: Dharmarth Shah Date: 2007-11-24T18:57:16+09:00 Subject: Access modifier : private Hi! I'm missing some core ruby concept here that I just can't figure out; any assistance would be excellent and welcome: I came to know from various posts that Class level varibales are shared among its subclasses in 1.8. But my confusion is, even though i mark it as private, it is accessible in subclass. See example below for more clarity on doubt. class Test1 private @@v=10 end class Test2 < Test1 def pr @@v=12 puts @@v end end Test2.new.pr ~Dharmarth -- "When I let go of what I am, I become what I might be." -- Posted via http://www.ruby-forum.com/.