Ok now i have a = Hash.new File.open('file').each do |line| b,c = line.split(/=/) a[b] = c end Which works, but im sure there are better ways out there? -- Posted via http://www.ruby-forum.com/.