mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
08936ea399
commit
c3b3e99953
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Nov 9 15:00:16 2013 Zachary Scott <e@zzak.io>
|
||||
|
||||
* io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz
|
||||
|
||||
Sat Nov 9 14:54:52 2013 Zachary Scott <e@zzak.io>
|
||||
|
||||
* lib/rss/*: [DOC] document various constants @steveklabnik [Bug #8812]
|
||||
|
|
6
io.c
6
io.c
|
@ -7965,9 +7965,9 @@ rb_f_gets(int argc, VALUE *argv, VALUE recv)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* ARGF.gets(sep=$/) -> string
|
||||
* ARGF.gets(limit) -> string
|
||||
* ARGF.gets(sep, limit) -> string
|
||||
* ARGF.gets(sep=$/) -> string or nil
|
||||
* ARGF.gets(limit) -> string or nil
|
||||
* ARGF.gets(sep, limit) -> string or nil
|
||||
*
|
||||
* Returns the next line from the current file in +ARGF+.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue