Project

General

Profile

Feature #9515

Updated by sawa (Tsuyoshi Sawada) 10 months ago

In `IO` class, there There are pairs of a class method and an instance method with related function: 

 * `IO.read` and `IO#read` 
 * `IO#read`, and `IO.write` and `IO#write` 
 * `IO.foreach` `IO#write`, but when it comes to `IO#each` and `IO#each` (or its alias `IO#each_line`) 

 For consistency, please make `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`. 

 The Perhaps the same thing can be said for `CSV.each`. CSV.each

Back