From: Lee Jarvis Date: 2007-09-24T03:29:44+09:00 Subject: Re: Split into hash 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/.