I want to input the variable, which changes, from the console and 
evaluate multiple examples without entering the constant multiple times.

-- 
Posted via http://www.ruby-forum.com/.