Subject: expand_path on windows for home dir
From: Roger Pack <rogerpack2005 gmail.com>
Date: Thu, 28 May 2009 22:38:46 +0900
currently on windows we've got:
>> File.expand_path '~'
=> "/Documents and Settings/Melissa.BLACKY"
shouldn't it be
>> File.expand_path '~'
=> "c:/Documents and Settings/Melissa.BLACKY"
?
-=r
--
Posted via http://www.ruby-forum.com/.