>>>>> "P" == =?iso-8859-1?Q?=22Pe=F1a=2C Botp=22?= <iso-8859-1> writes:

P> I would like to modify or create own Array#[]= method to return the array.

 Be carefull with this, because you'll perhaps use some module which don't
 expect to have this result. Or someone will use a method written by you
 and will be surprised by this result. This can give bugs very diificult to
 find. 

P> You could also tell me how you search it

 See #alias, something like

   class Array
      alias __acc []= unless method_defined? :__acc
      def []=(a, b)
         __acc(a, b)
         self
      end
   end


Guy Decoux