From: "Gaurav C." Date: 2012-04-20T16:22:07+09:00 Subject: How to override []= array method? My class is defined as, class Memory < Array and I need to override the []= method. I tried something like, def []=(address, value) self[address] = Word.new(value) end which causes an infinite loop of course: 'stack level too deep'. How to do it right? -- Posted via http://www.ruby-forum.com/.