[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: How to get special directories?

WujcioL

7/31/2008 4:29:00 PM

[Note: parts of this message were removed to make it a legal post.]

Hi,

You can get it using ENV. Try this in irb:
ENV #hash with many info
Home folder: ENV["HOME"] #only path to home folder


--
My own blog (in polish) :
wujciol.yoyo.pl