Skip to content

Instantly share code, notes, and snippets.

@jdx
Last active December 13, 2015 20:48
Show Gist options
  • Save jdx/4972856 to your computer and use it in GitHub Desktop.
Save jdx/4972856 to your computer and use it in GitHub Desktop.
def check_same_object(object1, object2)
same_object = false
if object1[:id] == object2[:id]
same_object = true
end
return same_object
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment