What's next? verify your email address for reply notifications!
You could also use input.each_line which, like String#lines, splits on $/
Actually I discovered that while fixing Weather geeklet...
Yes well, a String is not an Enumerable. You can use String#lines to split it into an Enumerable of lines. Looks a bit more portable since it splits on $/ and not on \n