On 5/18/07, jim o <jamesoyim / yahoo.com> wrote:
> I guess I did not ask my question very clearly. Sorry about that.
>
> What does the "#{ }"

Using #{} in a string literal (something in between double quotes)
interpolates the result of a block of code into the string. So:

    puts "Four plus five equals #{4 + 5}"

means the same thing as:

    puts "Four plus five equals " + (4 + 5).to_s

They both print:

    Four plus five equals 9

-- 
Avdi