From 36b7e95744cdd9e9dedac648a88b4f9ddd6e6cb0 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 14 Feb 2020 14:26:19 +0900 Subject: [PATCH] Fix typos and add a space [ci skip] --- hash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hash.c b/hash.c index 3a5f0579fc..20937d7178 100644 --- a/hash.c +++ b/hash.c @@ -5913,7 +5913,7 @@ env_size(VALUE _) * * Returns +true+ when there are no environment variables, +false+ otherwise: * ENV.clear - * ENV.empty? # =? true + * ENV.empty? # => true * ENV['foo'] = '0' * ENV.empty? # => false */ @@ -6082,7 +6082,7 @@ env_rassoc(VALUE dmy, VALUE obj) * * Returns the name of the first environment variable with +value+, if it exists: * ENV.replace('foo' => '0', 'bar' => '0') - * ENV.key('0') # =>"foo" + * ENV.key('0') # => "foo" * The order in which environment variables are examined is OS-dependent. * See {About Ordering}[#class-ENV-label-About+Ordering]. * @@ -6155,7 +6155,7 @@ env_to_hash(void) * * Returns a Hash containing all name/value pairs from ENV: * ENV.replace('foo' => '0', 'bar' => '1') - * ENV>to_hash # => {"bar"=>"1", "foo"=>"0"} + * ENV.to_hash # => {"bar"=>"1", "foo"=>"0"} */ static VALUE