From: Robert Klemme Date: 2010-02-19T23:07:38+09:00 Subject: Re: strings combine 2010/2/19 Raul Jara : > This doesn't work if you assign the strings to variables though: > > 'hi ' 'there' > =>"hi there" > > hi = 'hi ' > there = 'there' > hi there > NoMethodError: undefined method `hi' for main:Object >  from (irb):9 >  from /opt/local/bin/irb:12:in `
' > > > Which is a little counter intuitive. Not for me. The concatenation is done at parse time. Your "whitespace concatenation" is done at runtime. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/