Skip to content

Instantly share code, notes, and snippets.

@colinjfw
Created September 28, 2019 01:01
Show Gist options
  • Save colinjfw/7ac6b717465dbdf067da56e58ea49e5e to your computer and use it in GitHub Desktop.
Save colinjfw/7ac6b717465dbdf067da56e58ea49e5e to your computer and use it in GitHub Desktop.
def coord_equal(a, b)
a[:x] === b[:x] && a[:y] === b[:y]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment