ActionsLike0
Feature #1667
closedIO#codepoints, IO#each_codepoint, and StringIO
Status:
Closed
Assignee:
-
Target version:
-
Description
Almost all "iterators" of String
are present in IO
and StringIO
: #each_char
, #each_byte
, #each_line
and their corresponding #chars
, #bytes
, #lines
. Only #each_codepoint
and #codepoints
are not defined in IO
and StringIO
.
Unless there is a compelling reason not to, it would be useful if these were defined. This would mirror the coherence with all other each_
* methods that exist in both String
, IO
and StringIO
.
Updated by matz (Yukihiro Matsumoto) almost 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- Related to Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints added
ActionsLike0