From: Joel Pearson Date: 2012-12-03T20:39:16+09:00 Subject: Re: If statement 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}") -- Posted via http://www.ruby-forum.com/.