Created
November 8, 2012 17:35
-
-
Save servidorv/4040274 to your computer and use it in GitHub Desktop.
removes
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
duplicated beeing the array | |
def remove_duplicated(duplicated) | |
duplicated.each{|users| | |
users.uniq{|k, v| v["id"]} | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment