On 5/5/05, Eric Mahurin <eric_mahurin / yahoo.com> wrote:
> def swap(a,b)
>   tmp = a[]
>   a[] = b[]
>   b[] = tmp
> end
> 
> swap(ref{:x},ref{:y}) # swap the object references in x and y
> 
> See how useful this thing is?

    x, y = y, x

-austin
-- 
Austin Ziegler * halostatue / gmail.com
               * Alternate: austin / halostatue.ca