From: Joel VanderWerf Date: 2009-03-26T01:49:11+09:00 Subject: Re: appending an array to a frozen array James French wrote: > Ah, I understand - thanks. My next question is - is it possible to prevent this? ... >> @dependencies.freeze >> @dependencies += ["blah", "blah"] >> >> does not error out due to modifying a frozen array (1.8.7 p72). Use an attr_reader rather than an instance variable? -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407