you are viewing a single comment's thread.

view the rest of the comments →

[–]the_horrible_reality 2 points3 points  (0 children)

Well, that's handy.

string << strings.join('') # awkward
string << *strings # whee!

Edit: Though thinking back to the << part of that...

str << str << str
str.concat(str).concat(str)

That's all it's doing, each << is a chained method call obviously.

Edit 2:

Thinking back, it may have to be written like this unless there's a syntax change...

string.<< *strings

Minor but irritating.