On 10.11.2006 04:45, Sean Hussey wrote:
> On 11/9/06, Jan Svitok <jan.svitok / gmail.com> wrote:
>> KEYS = %w[ name id phone color temperature dog password ]
>>
>> data = line.chomp.split(...)
>> hash = Hash[*(KEYS.zip(data))]

I am not sure what you actually gain with this - unless of course your 
new and update methods would need to be rewritten to accept a Hash 
because all arguments are optional.

Kind regards

	robert