Does ruby provide a way to convert things like ~fred into the appropriate
full path name to the user's home directory under UNIX?

If not, I guess the right way to do it is to simply read the /etc/passwd
file?  Does ruby have a class that allows playing with the contents of
the password file cleanly?

Perhaps this could be added to the globbing that Dir::[] does?