How can I store user defined data in a hash
问题 Help, I am a noob, just need some advice on this bit of code. I have got most of my program working this part has me stuped i want to get a name and password. Then make the name the key and the password the value. Now it must be user defined.. Then I must be able to pull that hash info again. I thought that return would work... here is my code def login_prompt vault = {} puts "WELCOME! please enter an existing username: " username = gets.chomp checkname = Noxread.new comparename = checkname