From: Tom Sawyer Date: 2003-01-10T13:19:25+09:00 Subject: Re: attr_reader/writer vs. attr_accessor w/ access control On Thursday 09 January 2003 05:27 pm, dblack@candle.superlink.net wrote: > attr_accessor :a, :b, :x, :y > private :x=, :y= > protected :a, :b indeed i think you are probably right. while i think my idea is good one in theory, it is a bit more difficult (to change habits) in practice. but i feel good at least in understanding it all more clearly at least. -- tom sawyer, aka transami transami@transami.net .''. .''. . *''* :_\/_: . :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- :_\/_:'.:::. | ' *''* * '.\'/.' _\(/_'.':'.' : /\ : ::::: = *_\/_* -= o =- /)\ ' * '..' ':::' === * /\ * .'/.\'. '._____ * | *..* : |. |' .---"| * | _ .--'| || | _| | * | .-'| __ | | | || | .-----. | |' | || | | | | | || | ___' ' /"\ | '-."". '-' '-.' '` |_. ------------------------------------------------------------