Project

General

Profile

Actions

Feature #9515

open

`IO.each` and `CSV.each`

Added by sawa (Tsuyoshi Sawada) about 10 years ago. Updated about 4 years ago.

Status:
Open
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) about 4 years ago

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

Also available in: Atom PDF

Like0
Like0