From: Phillip Gawlowski Date: 2007-04-19T19:43:26+09:00 Subject: Re: how to get Linux home path using ruby Kjedar Sip wrote: > hai guys > > can any body guide me how to get the linux home path using ruby > langauage. irb(main):010:0> ENV["HOME"] => "/home/cynicalryan" This should work for Windows, too, not just *nix. -- Phillip "CynicalRyan" Gawlowski http://cynicalryan.110mb.com/ http://clothred.rubyforge.org Rule of Open-Source Programming #33: Don't waste time on writing test cases and test scripts - your users are your best testers.