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

ruby-changes:41935

From: nobu <ko1@a...>
Date: Sun, 6 Mar 2016 22:43:51 +0900 (JST)
Subject: [ruby-changes:41935] nobu:r54009 (trunk): io.c: fix output of Array [ci skip]

nobu	2016-03-06 22:43:42 +0900 (Sun, 06 Mar 2016)

  New Revision: 54009

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

  Log:
    io.c: fix output of Array [ci skip]
    
    * io.c (rb_obj_display): [DOC] fix output of Array, as Array#to_s
      is same as Array#inspect since 1.9.

  Modified files:
    trunk/ChangeLog
    trunk/io.c
Index: io.c
===================================================================
--- io.c	(revision 54008)
+++ io.c	(revision 54009)
@@ -7256,7 +7256,7 @@ rb_f_p(int argc, VALUE *argv, VALUE self https://github.com/ruby/ruby/blob/trunk/io.c#L7256
  *
  *  <em>produces:</em>
  *
- *     1cat456
+ *     1cat[4, 5, 6]
  */
 
 static VALUE
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54008)
+++ ChangeLog	(revision 54009)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Mar  6 22:43:41 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* io.c (rb_obj_display): [DOC] fix output of Array, as Array#to_s
+	  is same as Array#inspect since 1.9.
+
 Sat Mar  5 09:50:58 2016  Rei Odaira  <Rei.Odaira@g...>
 
 	* test/socket/test_addrinfo.rb (test_ipv6_address_predicates):

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

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