From: Colin Steele Date: 2001-05-23T04:43:16+09:00 Subject: [ruby-talk:15550] array.last and array[array.size - 1] not equivalent? a = ['a', 'b', 'c'] a[a.size - 1] += 'd' # ok a.last += 'x' # not ok Why aren't these two equivalent? Seems... weird. -- Colin Steele colin@webg2.com / www.colinsteele.org / www.rubycookbook.org From "The Hacker's Dictionary": peta-: /pe't@/ pref. Multiplier, 10 ^ 15 or [proposed] 2 ^ 50. See {kilo-}.