>>>>> "B" == Bill Kelly <billk / cts.com> writes:

>> h = Hash[*File.new("fred.ini").read.split(/=|\n/)]

B> I like the above, but wondered it it leaves the file open?

 The file will be closed when it will be garbage collected.


Guy Decoux