From: Rob Biedenharn Date: 2007-05-09T10:47:50+09:00 Subject: Re: Passing info to classes and methods On May 8, 2007, at 9:10 PM, Greg wrote: > def pick_an_orange numToPick > puts 'Got to pick_an_orange, now trying to get it working. > numToPick: #{numToPick}' # debugging Did you mean to have puts "Got ... #{numToPick}" in "double-quotes" to interpolate the #{numToPick}. In single quotes, you'll get literally: Got to pick_an_orange, now trying to get it working. numToPick: # {numToPick} Does that help you? -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com