From: sawadatsuyoshi@... Date: 2014-02-12T16:16:42+00:00 Subject: [ruby-core:60669] [ruby-trunk - Feature #9515] [Open] IO.each (and perhaps CSV.each) Issue #9515 has been reported by Tsuyoshi Sawada. ---------------------------------------- Feature #9515: IO.each (and perhaps CSV.each) https://bugs.ruby-lang.org/issues/9515 * Author: Tsuyoshi Sawada * Status: Open * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- There are pairs `IO.read` and `IO#read`, and `IO.write` and `IO#write`, but when it comes to `IO#each` and `IO#each_line`, their counterpart in the class method is `IO.foreach`. This is hard to remember. I request `IO.each` to be an alias for `IO.foreach`. Perhaps the same thing for CSV.each -- http://bugs.ruby-lang.org/