Now I'm not talking about those type of databases that keeps datas of a
given website. I'm talking about something similar to it but that can
work offline. Still confused? Here is what I'm talking about.

Let's say we have a login screen

Source code : http://pastebin.com/iMvgxkMk

Can I do something like that?

The variable will empty itself and start over after the program is
closed so can I do something so the program can save and retrieve data
from a file anytime?

Let's revise, all I'm asking for is
Program creates a new file.
Program can add/remove/retrieve data from the file.


Just like a database for a website.

Thanks.

-- 
Posted via http://www.ruby-forum.com/.