From c31d06eeb7c9787870bad6bf62955310bb644f33 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 29 Feb 2016 07:51:15 +0000 Subject: array.c: [DOC] remove trailing comma [ci skip] * array.c (rb_ary_push_m): [DOC] Remove trailing comma from Array#push example, as other Array examples doesn't put trailing comma. [Fix GH-1279] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'array.c') diff --git a/array.c b/array.c index 7d89285a8d..86cf09e542 100644 --- a/array.c +++ b/array.c @@ -935,7 +935,7 @@ rb_ary_cat(VALUE ary, const VALUE *argv, long len) * a = [ "a", "b", "c" ] * a.push("d", "e", "f") * #=> ["a", "b", "c", "d", "e", "f"] - * [1, 2, 3,].push(4).push(5) + * [1, 2, 3].push(4).push(5) * #=> [1, 2, 3, 4, 5] */ -- cgit v1.2.3