Daniel Finnie wrote:

> You can eliminate the double quotations so it is:
> puts "This is the name #{name}"
> 
> Or use direct concatenation with the two strings:
> puts "This is the name" + " #{name}"
> 
> But that would be silly when you can just move the space over and not
> have the whole #{} thing:
> puts "This is the name " + #{name}


Thanks,

Li

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