ささだです。

Minero Aoki wrote:
> 引数を省略した ARGF.read が使えなくなっています。

 ここで変わったらしいのですが、commit log には言及が無いようです。

$ svn log -r 11428
------------------------------------------------------------------------
r11428 | matz | 2006-12-30 04:21:50 +0900 (Sat, 30 Dec 2006) | 19 lines

* ext/stringio/stringio.c (strio_gets): accepts limit argument.

* ext/stringio/stringio.c (strio_readline, strio_each,
  strio_readlines): ditto.

* ext/stringio/stringio.c (strio_getline): add limit capability.

* io.c (rb_io_gets_m): accepts limit argument.  [ruby-talk:231563]

* io.c (rb_io_readline, rb_io_readlines, rb_io_each_line, argf_getline):
  ditto.

* io.c (appendline): add limit capability.

* io.c (rb_io_getline_fast, rb_io_getline): ditto.

* io.c (rb_io_getline): small refactoring for DRY.

* io.c (rb_io_s_foreach, rb_io_s_readlines): small refactoring.
------------------------------------------------------------------------

-- 
// SASADA Koichi at atdot dot net