From: Robert Feldt Date: 2001-11-14T01:25:29+09:00 Subject: [ruby-talk:25028] Re: attr_accessor question On Wed, 14 Nov 2001, Rich Kilmer wrote: > How do the methods attr, attr_accessor, attr_reader and attr_writer > depend on each other?...or do they? > They all call rb_attr but none of them uses the other. See object.c around lines 750 and forward. If people is thinking about adding attr_x stuff I think attr_write_once can be useful but maybe its because of bad design... ;-) Regards, Robert