Hi,

Code:
class Base	
	def initialize
		@test = 123
	end
end

class Child < Base 
	def output
		print @test
	end
	
	public :output
end


child = Child.new
child.output
Prints out 123.

If attribute "test" is private, why I am able to access it in Child class?
If attribute "test" is not private, what the hell am I missing?
How do I make it really private?

I really new to this Ruby stuff so please be polite.