Monday, October 15, 2007

Blog Action Day: The Environment

Today's the day when everyone is supposed to blog about the same topic, and this year, it's the environment. Since this blog tends to focus on Ruby programming lately, that makes my focus easy. For those who don't know, the environment is accessible via the constant ENV. For example:

puts ENV

You'll get all your standard environment variables in that Hash, including PATH, which is probably the one you'd use the most.

1 Comments:

At 2:29 PM, Blogger Doc Thirst said...

Cheater.

Here, I'll help. Don't litter. Thanks.

 

Post a Comment

<< Home