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).