Keep the behaviour of IO#each_line consistent with Ruby's implementation: return an Enumerator when no block is given.
# Before
File.open("myfile.txt", "r").each_line
/usr/local/bundle/gems/polyphony-1.6/lib/polyphony/extensions/io.rb:322:in `each_line': no block given (yield) (LocalJumpError)
# After
File.open("myfile.txt", "r").each_line
=> #<Enumerator: ...>
Keep the behaviour of
IO#each_line
consistent with Ruby's implementation: return anEnumerator
when no block is given.