From 38e5dd1be6a72dae872ffee7b51fd9d17c19b131 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 6 Mar 2016 13:43:42 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ io.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5d5f38a46a..3a023b1350 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Mar 6 22:43:41 2016 Nobuyoshi Nakada + + * 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 * test/socket/test_addrinfo.rb (test_ipv6_address_predicates): diff --git a/io.c b/io.c index 20614cd278..cd8dcb07a3 100644 --- a/io.c +++ b/io.c @@ -7256,7 +7256,7 @@ rb_f_p(int argc, VALUE *argv, VALUE self) * * produces: * - * 1cat456 + * 1cat[4, 5, 6] */ static VALUE