From b92db45b98f1deaa43efbbef11d5b6f213eeb65e Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Thu, 2 Oct 2025 18:38:22 -0500 Subject: [PATCH] [DOC] hash.c - fix 3 class doc typos --- hash.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hash.c b/hash.c index 8b1d5fde8b..7b523ba235 100644 --- a/hash.c +++ b/hash.c @@ -6912,7 +6912,7 @@ static const rb_data_type_t env_data_type = { * A \Hash object maps each of its unique keys to a specific value. * * A hash has certain similarities to an Array, but: - + * * - An array index is always an integer. * - A hash key can be (almost) any object. * @@ -7313,7 +7313,7 @@ static const rb_data_type_t env_data_type = { * - #keys: Returns an array containing all keys in +self+. * - #rassoc: Returns a 2-element array consisting of the key and value * of the first-found entry having a given value. - * - #values: Returns an array containing all values in +self+/ + * - #values: Returns an array containing all values in +self+. * - #values_at: Returns an array containing values for given keys. * * ==== Methods for Assigning @@ -7362,7 +7362,6 @@ static const rb_data_type_t env_data_type = { * * ==== Methods for Transforming Keys and Values * - * - #flatten!: Returns +self+, flattened. * - #invert: Returns a hash with the each key-value pair inverted. * - #transform_keys: Returns a copy of +self+ with modified keys. * - #transform_keys!: Modifies keys in +self+