From: Robert Klemme Date: 2012-12-03T20:41:51+09:00 Subject: Re: If statement On Mon, Dec 3, 2012 at 12:39 PM, Joel Pearson wrote: > If you do trust your user enough to let them execute system commands (I > assume this is your goal with the backticks), I think the way to input a > variable is this: > > system("#{op}") Superfluous - this is sufficient: system op If you do not know whether op references a String you can do system op.to_s Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/