rubinius/rubinius — pull request #1403 by txus (2011-11-09 16:54:19+00:00)
Title: StringIO#gets in 1.9 mode should accept multiple arguments

As the [docs](http://www.ruby-doc.org/stdlib-1.9.2/libdoc/stringio/rdoc/StringIO.html#method-i-gets) state, In 1.9+, StringIO#gets can be called in the following arguments:

* `gets(sep=$/) → string or nil`
* `gets(limit) → string or nil`
* `gets(sep, limit) → string or nil`

Right now Rubinius exposes the 1.8 behavior, which only accepted an optional `sep` argument. I've added the corresponding specs and CI failing tags.

I'm happy to try and implement this behavior in 1.9, so if we leave the pull request open, I'll add more commits to it with that code. Feel free to discuss the specs I've written, in case they don't communicate the intent or aren't clear enough.