Hi,

In message "Re: [ruby-core:17954] Expand_path -- Proposal: An alternate method"
    on Fri, 25 Jul 2008 12:26:16 +0900, "C.E. Thornton" <admin / hawthorne-press.com> writes:

|Shouldn't a program be able to expand ANY legitimate relative path
|without worrying that some directory in a given tree contains a
|dir  '~name' where the name "just" happens to be a user on your system?
|
|I can see the point of  'expand_path'  following the current convention, but
|shouldn't there be a way to scan a directory tree without incurring errors
|for legal directory names?
|
| It would follow these rules:
| 1)    ~current_user   = /home/current_user
| 2)    Any other directory specification, whether prefixed with
|        a tilde or not would be interpreted literally.
|
| Suggested Method Names:   expand_absolute()
|                                               absolute_path()  

If I were going to add a new method, that method should convert paths
from relative to absolute, no user name expansion.

							matz.