From: ts Date: 2000-11-03T00:15:36+09:00 Subject: [ruby-talk:5995] Re: Mem overhead of singleton (ProgRuby chapt 19 q) >>>>> "R" == Robert Feldt writes: R> I'm not sure I understand how what you mean here. Can I convert the R> singleton method to attribute accessor or do you consider the current R> method an attribute accessor? Can you please clarify/reformulate? I just want to say that when you write 'attr("name")' or 'attr("name", true)' ruby use only one node. This is not the case with for example 'def attr; @attr; end' and 'def attr=(val); @attr = val; end' Guy Decoux