Guest User

Untitled

a guest
May 24th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. print "Use SafeMLS token today (y/n)? "
  2. while got = $stdin.gets
  3. choice = got.to_i
  4. case choice
  5. when 'y'
  6. puts "Enter SafeMLS token: "
  7. @secure_key = $stdin.gets
  8. when 'n'
  9. @secure_key = nil
  10. else
  11. print "\nInvalid choice!\n"
  12. print "Use SafeMLS token today (y/n)? "
  13. end
  14. end
Add Comment
Please, Sign In to add comment