Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def check(username, password)
- username =~ /[^a-z]/ && password == File.read(directory+username)
- rescue Errno::ENOENT
- return false
- end
- show_user "the friggn message" unless check(username, password)
- ## old one
- def a(x, y, z)
- raise "Oops" unless x < 3 and y > 7 and z < x*y
- x*y*z
- end
Add Comment
Please, Sign In to add comment