At Wed, 23 May 2001 04:43:16 +0900,
Colin Steele wrote:
> a = ['a', 'b', 'c']
> a[a.size - 1] += 'd'  # ok
> a.last += 'x'         # not ok

Apart from the issue, you can use a[-1] for a[a.size - 1].

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"Freeze this moment a little bit longer, make each impression
  a little bit stronger..  Experience slips away -- Time stand still"