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

ruby-changes:64943

From: Marc-Andre <ko1@a...>
Date: Tue, 19 Jan 2021 01:05:47 +0900 (JST)
Subject: [ruby-changes:64943] fad9922d84 (master): Revert "[Document][Array] Add missing call-seq for Array#append"

https://git.ruby-lang.org/ruby.git/commit/?id=fad9922d84

From fad9922d846bd4f0ccf2fc8305ad18fcfe5e6853 Mon Sep 17 00:00:00 2001
From: Marc-Andre Lafortune <github@m...>
Date: Mon, 18 Jan 2021 11:05:05 -0500
Subject: Revert "[Document][Array] Add missing call-seq for Array#append"

This reverts commit ac1a4bccbda4358436a7a907a7f09d047f562740.

See https://github.com/ruby/ruby/pull/4088

diff --git a/array.c b/array.c
index 86f7227..7d10c1b 100644
--- a/array.c
+++ b/array.c
@@ -1323,7 +1323,6 @@ rb_ary_cat(VALUE ary, const VALUE *argv, long len) https://github.com/ruby/ruby/blob/trunk/array.c#L1323
 /*
  *  call-seq:
  *    array.push(*objects) -> self
- *    array.append(*objects) -> self
  *
  *  Appends trailing elements.
  *
-- 
cgit v0.10.2


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

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