From: "znz (Kazuhiro NISHIYAMA)" <redmine@...> Date: 2013-10-17T14:54:27+09:00 Subject: [ruby-core:57908] [ruby-trunk - Bug #9029][Open] doc of ARGF.gets Issue #9029 has been reported by znz (Kazuhiro NISHIYAMA). ---------------------------------------- Bug #9029: doc of ARGF.gets https://bugs.ruby-lang.org/issues/9029 Author: znz (Kazuhiro NISHIYAMA) Status: Open Priority: Normal Assignee: zzak (Zachary Scott) Category: doc Target version: current: 2.1.0 ruby -v: r43329 Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN rdoc of ARGF.gets says ARGF.gets return string only, but it may return nil. doc of rb_f_gets: * call-seq: * gets(sep=$/) -> string or nil * gets(limit) -> string or nil * gets(sep,limit) -> string or nil doc of argf_gets: * call-seq: * ARGF.gets(sep=$/) -> string * ARGF.gets(limit) -> string * ARGF.gets(sep, limit) -> string -- http://bugs.ruby-lang.org/