From: dwerder@... (Dominik Werder) Date: 2003-01-15T01:14:45+09:00 Subject: Re: Hash Syntax Hi! > > 'key1' => 'value1', # comma > > 'key2' => 'value2', # comma > > 'key3' => 'value3', # comma Yes, this works fine :) > If your keys and values are always strings, you can do this: > > h = Hash[*%w{ > key1 value1 > key2 value2 > key3 value3 > }] They're strings but with whitespace (sometimes) Thank you! Dominik