summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-02-14 14:26:19 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-02-14 14:26:19 +0900
commit36b7e95744cdd9e9dedac648a88b4f9ddd6e6cb0 (patch)
tree3dc42cb2be98e002452dafad78b8aae718d3a56b /hash.c
parentb9129dac215735c5091658cfa3596ca0388f171f (diff)
Fix typos and add a space [ci skip]
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c6
1 files 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