IO.readline does not take account of the optional separator
description
In IR 1.0, IO.readline does not take account of the optional parameter that is supposed to be the line separator.
IO.gets on the other hand does.
My copy of Programming Ruby says:
readline io.readline( separator=$/ )→ string
Reads a line as with IO#gets, but raises an EOFError on end of file.
I've checked all other Ruby flavours, and they all act as expected.
Interestingly, RubySpec tests the separator on gets, but not readline.