Project

General

Profile

Actions

Feature #9515

open

`IO.each` and `CSV.each`

Added by sawa (Tsuyoshi Sawada) over 7 years ago. Updated almost 2 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:60669]

Description

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

  • IO.read and IO#read
  • IO.write and IO#write
  • IO.foreach and IO#each (or its alias IO#each_line)

For consistency, please make IO.each an alias for IO.foreach.

The same thing can be said for CSV.each.

Actions #1

Updated by sawa (Tsuyoshi Sawada) almost 2 years ago

  • Description updated (diff)
  • Subject changed from IO.each (and perhaps CSV.each) to `IO.each` and `CSV.each`
Actions

Also available in: Atom PDF