Robert Klemme wrote: > "why the lucky stiff" <ruby-talk / whytheluckystiff.net> schrieb im > Newsbeitrag news:40AD161F.6070107 / whytheluckystiff.net... >> >> o = YAML::Omap['c', 'coats', 'g', 'goats'] >> => [["c", "coats"], ["g", "goats"]] >> >> o.class >> => YAML::Omap >> >>_why > > > or how about > > oh = OrderedHash.new.update( { > "foo" => "bar", > "bar2 => "foo", > } ) But then the order in the "ordered hash" is not necessarily the same as that specified in the single hash passed in as a parameter. Hal