devel/rubygem-equatable 0.7.0 FreeBSD
Implement equality comparison and inspection methods
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 5.7 KiB, 12.8 KiB installed
Description
Equatable 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. Howerver, 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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-equatable | 0.7.0 |
| DragonFly | devel/rubygem-equatable | 0.7.0 |
Install
Binary package:
pkg install rubygem-equatable
From the ports tree:
cd /usr/ports/devel/rubygem-equatable/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-equatable>0:devel/rubygem-equatable
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.7.0 | 0.7.0 | 0.7.0 | 0.7.0 | 0.7.0 |
| FreeBSD:14:quarterly | 0.7.0 | 0.7.0 | n/a | 0.7.0 | 0.7.0 |
| FreeBSD:15:latest | 0.7.0 | 0.7.0 | n/a | 0.7.0 | 0.7.0 |
| FreeBSD:15:quarterly | 0.7.0 | 0.7.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.7.0 | 0.7.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 6
Required by 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/equatable-0.7.0.gem | 8192 | cd99f7bf79439dac5b34ccd33826aef0ef561029ecfa6d32a87c088a688ffe2b |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.