Bug #9029

doc of ARGF.gets

Added by Kazuhiro NISHIYAMA 6 months ago. Updated 5 months ago.

[ruby-core:57908]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
Category:doc
Target version:2.1.0
ruby -v:r43329 Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

rdoc of ARGF.gets says ARGF.gets return string only, but it may return nil.

doc of rbfgets:
* 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

Associated revisions

Revision 43602
Added by Zachary Scott 5 months ago

  • io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz

History

#1 Updated by Zachary Scott 5 months ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r43602.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz

Also available in: Atom PDF