Last active
June 19, 2017 04:33
-
-
Save geocodinglife/fd7d69e5900585696ef641f3d34b168d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 authentication(string, need = {dog: 1, cocodrilo: 2}) | |
string1 = string.split(" ") | |
if string1 == dog, string1 == cocodrilo | |
puts "success" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment