mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove (newly unneeded) remarks about aliases
This commit is contained in:
parent
3d53827130
commit
3b239d2480
15 changed files with 2 additions and 149 deletions
4
enum.c
4
enum.c
|
@ -706,7 +706,6 @@ enum_flat_map(VALUE obj)
|
|||
*
|
||||
* (0..4).to_a # => [0, 1, 2, 3, 4]
|
||||
*
|
||||
* Enumerable#entries is an alias for Enumerable#to_a.
|
||||
*/
|
||||
static VALUE
|
||||
enum_to_a(int argc, VALUE *argv, VALUE obj)
|
||||
|
@ -1000,7 +999,6 @@ ary_inject_op(VALUE ary, VALUE init, VALUE op)
|
|||
* "Memo: 3; element: 3"
|
||||
* "Memo: 6; element: 4"
|
||||
*
|
||||
* Enumerable#reduce is an alias for Enumerable#inject.
|
||||
*
|
||||
*/
|
||||
static VALUE
|
||||
|
@ -2722,8 +2720,6 @@ member_i(RB_BLOCK_CALL_FUNC_ARGLIST(iter, args))
|
|||
* {foo: 0, bar: 1, baz: 2}.include?('foo') # => false
|
||||
* {foo: 0, bar: 1, baz: 2}.include?(0) # => false
|
||||
*
|
||||
* Enumerable#member? is an alias for Enumerable#include?.
|
||||
*
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue