Skip to content

Commit b92db45

Browse files
MSP-Gregnobu
authored andcommitted
[DOC] hash.c - fix 3 class doc typos
1 parent ff8975d commit b92db45

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

hash.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6912,7 +6912,7 @@ static const rb_data_type_t env_data_type = {
69126912
* A \Hash object maps each of its unique keys to a specific value.
69136913
*
69146914
* A hash has certain similarities to an Array, but:
6915-
6915+
*
69166916
* - An array index is always an integer.
69176917
* - A hash key can be (almost) any object.
69186918
*
@@ -7313,7 +7313,7 @@ static const rb_data_type_t env_data_type = {
73137313
* - #keys: Returns an array containing all keys in +self+.
73147314
* - #rassoc: Returns a 2-element array consisting of the key and value
73157315
* of the first-found entry having a given value.
7316-
* - #values: Returns an array containing all values in +self+/
7316+
* - #values: Returns an array containing all values in +self+.
73177317
* - #values_at: Returns an array containing values for given keys.
73187318
*
73197319
* ==== Methods for Assigning
@@ -7362,7 +7362,6 @@ static const rb_data_type_t env_data_type = {
73627362
*
73637363
* ==== Methods for Transforming Keys and Values
73647364
*
7365-
* - #flatten!: Returns +self+, flattened.
73667365
* - #invert: Returns a hash with the each key-value pair inverted.
73677366
* - #transform_keys: Returns a copy of +self+ with modified keys.
73687367
* - #transform_keys!: Modifies keys in +self+

0 commit comments

Comments
 (0)