Hi,

In message "Re: [ruby-core:43358] [ruby-trunk - Feature #5008] Equal rights for Hash (like Array, String, Integer, Float)"
    on Sat, 17 Mar 2012 07:13:17 +0900, Marc-Andre Lafortune <ruby-core / marc-andre.ca> writes:

|Even if you will not accept Enumerable#to_h, how about `to_h` for Hash, Struct, OpenStruct and NilClass, which do have a natural conversion to a hash?

It seems a better idea than adding Enumerable#to_h, except that I am
not sure nil.to_h is a good one.

							matz.