Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37040071
en ru br
ALT Linux repos
S:0.7.0-alt1

Group :: Development/Ruby
RPM: gem-equatable

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 0.7.0-alt1
Build date: 2 september 2021, 20:04 ( 134.0 weeks ago )
Size: 13.92 Kb

Home page:   https://github.com/piotrmurach/equatable

License: MIT
Summary: Allows ruby objects to implement equality comparison and inspection methods
Description:

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.

Current maintainer: Ruby Maintainers Team

List of contributors

List of rpms provided by this srpm:

  • gem-equatable
  • gem-equatable-devel
  • gem-equatable-doc
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin