Hi,
how do I implement an atribute reader/writer/accessor for a class variable?

Something on the lines of 

class Foo
	attr_reader :Foo.bar	
	@@bar="baz"
end

puts Foo.bar
Foo.bar="wibble"
puts Foo.bar 

although this gives the following:
/home/stehill1/tmp/attr.rb:4: undefined method `bar' for :Foo:Symbol (NameError)

Thanks

Steve