I'm puzzled about why the following happens (I'm using v1.9.3):

s = "[" 9.to_s "]"  # error

These other two concatenation constructs appear to work fine:

s = "[" + 9.to_s + "]"
s = "[" << 9.to_s << "]"

What's the key concept I'm missing here?

_ Dave

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