Skip to content

Commit d588a1c

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
Correct order of listed methods
1 parent c8dd047 commit d588a1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8684,12 +8684,12 @@ rb_ary_deconstruct(VALUE ary)
86848684
* - #&: Returns an array containing elements found both in +self+ and a given array.
86858685
* - #+: Returns an array containing all elements of +self+ followed by all elements of a given array.
86868686
* - #-: Returns an array containing all elements of +self+ that are not found in a given array.
8687+
* - #|: Returns an array containing all element of +self+ and all elements of a given array, duplicates removed.
86878688
* - #difference: Returns an array containing all elements of +self+ that are not found in any of the given arrays..
86888689
* - #intersection: Returns an array containing elements found both in +self+ and in each given array.
86898690
* - #product: Returns or yields all combinations of elements from +self+ and given arrays.
86908691
* - #reverse: Returns an array containing all elements of +self+ in reverse order.
86918692
* - #union: Returns an array containing all elements of +self+ and all elements of given arrays, duplicates removed.
8692-
* - #|: Returns an array containing all elements of +self+ and all elements of a given array, duplicates removed.
86938693
*
86948694
* === Methods for Iterating
86958695
*

numeric.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3592,6 +3592,7 @@ rb_num2ull(VALUE val)
35923592
* - #>>: Returns the value of +self+ after a rightward bit-shift.
35933593
* - #[]: Returns a slice of bits from +self+.
35943594
* - #^: Returns the bitwise EXCLUSIVE OR of +self+ and the given value.
3595+
* - #|: Returns the bitwise OR of +self+ and the given value.
35953596
* - #ceil: Returns the smallest number greater than or equal to +self+.
35963597
* - #chr: Returns a 1-character string containing the character
35973598
* represented by the value of +self+.
@@ -3611,7 +3612,6 @@ rb_num2ull(VALUE val)
36113612
* - #to_s (aliased as #inspect): Returns a string containing the place-value
36123613
* representation of +self+ in the given radix.
36133614
* - #truncate: Returns +self+ truncated to the given precision.
3614-
* - #|: Returns the bitwise OR of +self+ and the given value.
36153615
*
36163616
* === Other
36173617
*

0 commit comments

Comments
 (0)