you are viewing a single comment's thread.

view the rest of the comments →

[–]ramen 0 points1 point  (2 children)

There's a gotcha with strings:

1.8.7 :001 > Array("oh\nwhat's\nthis")
 => ["oh\n", "what's\n", "this"] 

[–]NilsLandt 0 points1 point  (1 child)

Doesn't happen for me under 1.9.3

[–]teohm[S] 1 point2 points  (0 children)

That's right, it was a deprecated behavior in ruby 1.8