diff options
author | Marco Ceresa <bluemonk@users.noreply.github.com> | 2022-01-08 11:14:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-08 11:14:52 +0100 |
commit | 8ff186bd8d71da69fa33b999ff69be9d8885c424 (patch) | |
tree | 16941b3027ef5a805e86347806b75be61510109e /lib/ipaddress/ipv6.rb | |
parent | 85b95efd1846958e13f4dd6225afffe5b39db306 (diff) | |
parent | 9b8d8fdd6489472349843d4607f8be8e05024857 (diff) | |
download | ipaddress-8ff186bd8d71da69fa33b999ff69be9d8885c424.tar.gz |
Merge pull request #77 from smortex/eql
Make eql? behare like ==.
Diffstat (limited to 'lib/ipaddress/ipv6.rb')
-rw-r--r-- | lib/ipaddress/ipv6.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ipaddress/ipv6.rb b/lib/ipaddress/ipv6.rb index f427954..1601a01 100644 --- a/lib/ipaddress/ipv6.rb +++ b/lib/ipaddress/ipv6.rb @@ -528,6 +528,7 @@ module IPAddress; return prefix <=> oth.prefix if to_u128 == oth.to_u128 to_u128 <=> oth.to_u128 end + alias eql? == # # Returns the address portion of an IP in binary format, |