I use Windows 7 and Ruby 2.2.3p173
I wrote this program:
The program is dictionary. So it could save and find the definition of a
word. The program save/dump a hash (word-definition) into
When I ran it through command line, it created dic_database.yml in the
same directory. Everything worked.
Then I deleted the .yml and tried to open the program with Ruby
interpreter. But the program didn’t create any .yml in the same dir.
When I quit the interpeter then try again to find a word, I can find it.
So the object isn’t temporarily saved.
But, then, where does saved .yml/hash object go (what dir)?