From: Kevin Olbrich Date: 2006-01-18T21:48:11+09:00 Subject: Re: Delayed quote expansion Lots of good responses here, but the one that turns out to be the easiest is... def func(param) some_value = 42 value = eval %Q{%Q{#{param}}} end func('my number is #{some_value}') #=> 'my number is 42' _Kevin -- Posted via http://www.ruby-forum.com/.