Last active
December 13, 2015 20:48
-
-
Save jdx/4972856 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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