зеркало из https://github.com/github/ruby.git
[DOC] Fix syntax in Hash#eql?
This commit is contained in:
Родитель
4d4da09ae4
Коммит
0c923fed7d
2
hash.c
2
hash.c
|
@ -3791,7 +3791,7 @@ rb_hash_equal(VALUE hash1, VALUE hash2)
|
|||
* Returns +true+ if all of the following are true:
|
||||
* * +object+ is a \Hash object.
|
||||
* * +hash+ and +object+ have the same keys (regardless of order).
|
||||
* * For each key +key+, <tt>h[key] eql? object[key]</tt>.
|
||||
* * For each key +key+, <tt>h[key].eql?(object[key])</tt>.
|
||||
*
|
||||
* Otherwise, returns +false+.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче