[前][次][番号順一覧][スレッド一覧]

ruby-changes:48285

From: kazu <ko1@a...>
Date: Tue, 24 Oct 2017 21:10:37 +0900 (JST)
Subject: [ruby-changes:48285] kazu:r60401 (trunk): Update call-seq of ARGF.read_nonblock

kazu	2017-10-24 21:10:32 +0900 (Tue, 24 Oct 2017)

  New Revision: 60401

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60401

  Log:
    Update call-seq of ARGF.read_nonblock
    
    ARGF.read_nonblock supports `exception: false' like IO#read_nonblock
    since 2.3.0.
    [Feature #11358]

  Modified files:
    trunk/io.c
Index: io.c
===================================================================
--- io.c	(revision 60400)
+++ io.c	(revision 60401)
@@ -11856,8 +11856,8 @@ argf_readpartial(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/io.c#L11856
 
 /*
  *  call-seq:
- *     ARGF.read_nonblock(maxlen)              -> string
- *     ARGF.read_nonblock(maxlen, outbuf)      -> outbuf
+ *     ARGF.read_nonblock(maxlen[, options])              -> string
+ *     ARGF.read_nonblock(maxlen, outbuf[, options])      -> outbuf
  *
  *  Reads at most _maxlen_ bytes from the ARGF stream in non-blocking mode.
  */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]