Group :: Desenvolvimento/Ruby
RPM: gem-equatable
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 0.7.0-alt1
Data da compilação: 2 setembro 2021, 20:04 ( 138.0 weeks ago )
Tamanho:: 13.92 Kb
Home page: https://github.com/piotrmurach/equatable
Licença: MIT
Sumário: Allows ruby objects to implement equality comparison and inspection methods
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 2 setembro 2021, 20:04 ( 138.0 weeks ago )
Tamanho:: 13.92 Kb
Home page: https://github.com/piotrmurach/equatable
Licença: MIT
Sumário: Allows ruby objects to implement equality comparison and inspection methods
Descrição:
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.
Mantenedor currente: 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.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- gem-equatable
- gem-equatable-devel
- gem-equatable-doc