Project

General

Profile

Bug #9029

doc of ARGF.gets

Added by znz (Kazuhiro NISHIYAMA) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
r43329
[ruby-core:57908]

Description

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

Associated revisions

Revision c3b3e999
Added by zzak (Zachary Scott) over 4 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 43602
Added by zzak (Zachary Scott) over 4 years ago

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

Revision 43602
Added by zzak (Zachary Scott) over 4 years ago

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

Revision 43602
Added by zzak (Zachary Scott) over 4 years ago

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

Revision 43602
Added by zzak (Zachary Scott) over 4 years ago

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

Revision 43602
Added by zzak (Zachary Scott) over 4 years ago

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

History

#1 Updated by zzak (Zachary Scott) over 4 years 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