From: Jerome David Sallinger Date: 2010-05-26T07:26:01+09:00 Subject: In-code data Hi, What is the best way/practice of storing data that is to be used and accessed within your code. For example if I downloded a language dictionay in txt format. Would it make more sense to read it from a text file and parse it into a hash table variable. Or could I have it contained within a secondary source file and simple use 'require' to load it. I work with a lot of specifications which often contain lots of tables with values, I would like to simply cut and paste the tables into my code. This would make the code easier to update between versions of specs especially where the data in the tables has changed. I know this sounds like a general question, but I am all ears to any ideas of new ways of working. TC -- Posted via http://www.ruby-forum.com/.