This commit is contained in:
ydah 2024-09-26 18:54:15 +09:00 коммит произвёл Nobuyoshi Nakada
Родитель 3e742579bb
Коммит cc1e1e77d5
1 изменённых файлов: 1 добавлений и 1 удалений

2
hash.c
Просмотреть файл

@ -6792,7 +6792,7 @@ static const rb_data_type_t env_data_type = {
*
* ==== User-Defined +Hash+ Keys
*
* To be useable as a +Hash+ key, objects must implement the methods <code>hash</code> and <code>eql?</code>.
* To be usable as a +Hash+ key, objects must implement the methods <code>hash</code> and <code>eql?</code>.
* Note: this requirement does not apply if the +Hash+ uses #compare_by_identity since comparison will then
* rely on the keys' object id instead of <code>hash</code> and <code>eql?</code>.
*