From: tho_mica_l Date: 2008-01-03T16:24:57+09:00 Subject: Re: change the symbol in an interpolated string value? > #1 You could use evil eval: > #2 Use erb (http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/) Sorry, it seems I totally misunderstood your question ... which I don't quite understand now after reading it again. You could use gsub (maybe in conjunction with a block to look up variable values) but why ...