Add eql? and hash methods for IPv? and Prefix? classes (fix for #21) #22

Open
wants to merge 2 commits into
from

Conversation

Projects
None yet
1 participant

Commit adds eql? and hash methods that will allows the IPv? and Prefix? classes to behave as expected when used in hashes or sets.

@patdowney patdowney Add eql? and hash definitions so that instances of IPAddress and Pref…
…ix behave as expected when used in sets or hashes.
1dd5df1

Sorry, I had hoped this would attach to the issue I created previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment