Группа :: Разработка/Ruby
Пакет: gem-equatable
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Текущая версия: 0.7.0-alt1
Время сборки: 2 сентября 2021, 20:04 ( 137.8 недели назад )
Размер архива: 13.92 Kb
Домашняя страница: https://github.com/piotrmurach/equatable
Лицензия: MIT
О пакете: Allows ruby objects to implement equality comparison and inspection methods
Описание:
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
ACL:
Время сборки: 2 сентября 2021, 20:04 ( 137.8 недели назад )
Размер архива: 13.92 Kb
Домашняя страница: https://github.com/piotrmurach/equatable
Лицензия: MIT
О пакете: Allows ruby objects to implement equality comparison and inspection methods
Описание:
By including this module, a class indicates that its instances have explicit
general contracts for hash, == and eql? methods. Specifically eql? contract
requires that it implements an equivalence relation. By default each instance of
the class is equal only to itself. This is a right behaviour when you have
distinct objects. However, it is the responsibility of any class to clearly
define their equality. Failure to do so may prevent instances to behave as
expected when for instance Array#uniq is invoked or when they are used as Hash
keys.
Текущий майнтейнер: Ruby Maintainers Team general contracts for hash, == and eql? methods. Specifically eql? contract
requires that it implements an equivalence relation. By default each instance of
the class is equal only to itself. This is a right behaviour when you have
distinct objects. However, it is the responsibility of any class to clearly
define their equality. Failure to do so may prevent instances to behave as
expected when for instance Array#uniq is invoked or when they are used as Hash
keys.
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
- gem-equatable
- gem-equatable-devel
- gem-equatable-doc