thanks very much.
i was reading the book "programming ruby".
it said "def attribute=(new_attribute)", can be used attribute as if
it's public variables, i think i was wrong.

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