Bug #9002 » 0001-Use-simpler-example-for-File-expand_path-with-dir_st.patch
| file.c | ||
|---|---|---|
|
* user's home directory.
|
||
|
*
|
||
|
* File.expand_path("~oracle/bin") #=> "/home/oracle/bin"
|
||
|
* File.expand_path("../../bin", "/tmp/x") #=> "/bin"
|
||
|
* File.expand_path("ruby", "/usr/bin") #=> "/usr/bin/ruby"
|
||
|
*/
|
||
|
VALUE
|
||