>Robert Klemme wrote
> You cannot assign to self!
> Calling self#[]= is something different - this is actually a method
> that must be implemented for the object that self points to.

Robert, can you expand on that?

My example has an object of type Array. Array has a method =
implemented, so in what way is []= different to = ? One works on self;
the other raises an error.

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