@@ -1791,7 +1791,7 @@ static VALUE rb_hash_to_a(VALUE hash);
17911791/*
17921792 * call-seq:
17931793 * Hash[] -> new_empty_hash
1794- * Hash[hash ] -> new_hash
1794+ * Hash[other_hash ] -> new_hash
17951795 * Hash[ [*2_element_arrays] ] -> new_hash
17961796 * Hash[*objects] -> new_hash
17971797 *
@@ -1800,20 +1800,20 @@ static VALUE rb_hash_to_a(VALUE hash);
18001800 *
18011801 * With no argument given, returns a new empty hash.
18021802 *
1803- * With a single argument given that is a hash,
1804- * returns a new hash initialized with the entries from + hash+
1803+ * With a single argument +other_hash+ given that is a hash,
1804+ * returns a new hash initialized with the entries from that hash
18051805 * (but not with its +default+ or +default_proc+):
18061806 *
18071807 * h = {foo: 0, bar: 1, baz: 2}
18081808 * Hash[h] # => {foo: 0, bar: 1, baz: 2}
18091809 *
1810- * With a single argument given that is an array of 2-element arrays,
1810+ * With a single argument +2_element_arrays+ given that is an array of 2-element arrays,
18111811 * returns a new hash wherein each given 2-element array forms a
18121812 * key-value entry:
18131813 *
18141814 * Hash[ [ [:foo, 0], [:bar, 1] ] ] # => {foo: 0, bar: 1}
18151815 *
1816- * With an even number of arguments given,
1816+ * With an even number of arguments +objects+ given,
18171817 * returns a new hash wherein each successive pair of arguments
18181818 * is a key-value entry:
18191819 *
0 commit comments