On Saturday 17 June 2006 06:27, Tanaka Akira wrote:
> In article <200606161327.35948.jfh / cise.ufl.edu>,
>
>   "James F. Hranicky" <jfh / cise.ufl.edu> writes:
> > Ok -- I think I'm going to take Sam's advice and turn it into one
> > method that returns [uid, gid] .
>
> I like a hash: {:euid => euid, :egid => egid }

I'm ready to get back to this now.

How about this:

{ 
   :uid  => ruid || euid,
   :gid  => rgid || egid,
   :ruid => ruid,
   :rgid => rgid,
   :euid => euid,
   :egid => egid
}

Most of the time you're not worried about whether you're getting {r,e}uid or
{r,e}gid, but if you care the info is there.

Jim