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

wants to merge 2 commits into


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.

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