Hi,
I'm learning ruby, and writing my first "usable" program in it. I'm trying to figure out how to get ruby to navigate to/create a directory inside the /home/[user] dir of the user running the app. This is so that I can get it to create a .[config] folder for the app like most common apps do.
Also, how would I simply get it to recognize which user(s) is currently logged in?
Just some general instructions would be nice. I'm browsing the rdoc documentation ( http://www.ruby-doc.org/core/ ) right now to see if there's any classes that cover this, but it's a long search, so if anyone knows the answer, please help me out.
Bookmarks