Skip to content

Instantly share code, notes, and snippets.

@denisdefreyne
Created May 18, 2022 09:39
Show Gist options
  • Save denisdefreyne/9e69b6b77479dc3c394b9b3554c96649 to your computer and use it in GitHub Desktop.
Save denisdefreyne/9e69b6b77479dc3c394b9b3554c96649 to your computer and use it in GitHub Desktop.
points = {}
points[Point.new(11, 24)] = true
points[Point.new(11, 24)] # => true
points[Point.new(10, 22)] # => nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment