From: "Iñaki Baz Castillo" Date: 2008-05-03T21:58:52+09:00 Subject: Re: How to access to an Array element without doing "find" each time El Sábado, 3 de Mayo de 2008, David A. Black escribió: > You could combine these techniques, actually, if you did something > like: > >    class Message >      def from_header=(h) >        self.from_header.replace(h) >      end >    end > > That's almost pseudo-code, but the point is you could then do: > >    message.from_header = message.to_header > > or whatever. That's the great thing about the "="-methods; they let > you use assignment semantics for method calls, and you can of course > define the method yourself. Great !!! -- Iñaki Baz Castillo