From: "Bartosz DziewoƄski" Date: 2011-08-25T21:43:32+09:00 Subject: Re: New to Ruby some problems []= operator can take either two three arguments - they're written like this: array[a, b] = c or array[a] = b (this is the same as array.[]=(a, b, c) or array.[]=(a, b) ). See the docs for this method to see why are the three arguments needed: http://www.ruby-doc.org/core/classes/Array.html#M000219 -- Matma Rex