Project

General

Profile

Bug #9002 » 0001-Use-simpler-example-for-File-expand_path-with-dir_st.patch

cha1tanya (Prathamesh Sonpatki), 10/09/2013 02:06 AM

View differences:

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
(1-1/2)