On Feb 23, 2007, at 1:40 PM, ben wiseley wrote:
> Can you depend on the order of keys in a hash in Ruby?
>
> Example:
> h = {:one => "one", :two => "two"}
>
> Will h.keys.first always be :one or can't you depend on that?
Hashes are unordered collections. You can't depend on the order of
the contents at all.