From: dwerder@... (Dominik Werder) Date: 2003-01-08T00:04:24+09:00 Subject: Hash Syntax Hi All, is it possible to omit the commas when defining a Hash like this? h = { 'key1' => 'value1', # comma 'key2' => 'value2', # comma 'key3' => 'value3' # no comma } The key/value pairs are devided by a linefeed. Can we teach ruby to understand it also without the comma? I want to generate Hash definitions dynamically by another program and to omit the commas would be very useful. thank you! Dominik