From: Gavin Kistner Date: 2005-06-01T21:38:04+09:00 Subject: Re: array of object insert polices On Jun 1, 2005, at 3:35 AM, Pe�a, Botp wrote: > def []= (index, other) > p "You entered #{other} thru index #{index}" > if other.class == Fixnum As in Robert Klemme's example, you should use Integer and not Fixnum. (Integer covers both Fixnum and Bignum).