dblack / candle.superlink.net wrote in
news:Pine.LNX.4.44.0211242202400.3367-100000 / candle.superlink.net: 

> Hi --
> 
> On Mon, 25 Nov 2002, Damon wrote:
> 
>> Ross Shaw <rshaw1961 / yahoo.com.au> wrote in message news:<rshaw1961->
>>  Robert Cowham <rc / vaccaperna.co.uk> wrote: 
>> >
>> > h = {}
>> > File.foreach("fred.ini") do |line|
>> >   key, value = line.chomp.split("=")
>> >   h[key] = value
>> > end
>> >
>> >
>> > Ross

Thanks all for the suggestions - very interesting for a Ruby newbie!

-------------
Robert Cowham