From: Daniel Schoch Date: 2009-03-03T23:28:27+09:00 Subject: expanding environment variable Hi, I have a string s = "$DIR/test/$FILE" Is there an easy way to expand this with the defined environment variables? I can always write a quick parser, but I was wondering maybe this already exists? Thanks ds -- Posted via http://www.ruby-forum.com/.