Package gem-equatable: Information
Source package: gem-equatable
Version: 0.7.0-alt1
Build time: Sep 18, 2023, 11:38 PM in the task #307833
Category: Development/Ruby
Report package bugHome 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.
List of RPM packages built from this SRPM:
gem-equatable (noarch)
gem-equatable-devel (noarch)
gem-equatable-doc (noarch)
gem-equatable (noarch)
gem-equatable-devel (noarch)
gem-equatable-doc (noarch)
Maintainer: Ruby Maintainers Team
Last changed
Sept. 2, 2021 Pavel Skrylev 0.7.0-alt1
- ^ 0.6.1 -> 0.7.0
Sept. 11, 2019 Pavel Skrylev 0.6.1-alt1.1
- ! spec according to changelog rules
Aug. 8, 2019 Pavel Skrylev 0.6.1-alt1
- + packaged gem with usage Ruby Policy 2.0