Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37516848
en ru br
ALT Linux repositórios
S:0.7.0-alt1

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:

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

Lista dos contribuidores

Lista dos rpms provida por esta srpm:

  • gem-equatable
  • gem-equatable-devel
  • gem-equatable-doc
ACL:
     
    projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    mantenedor atual: Michael Shigorin
    mantenedor da tradução: Fernando Martini aka fmartini © 2009