From: Yukihiro Matsumoto Date: 2011-04-27T16:50:01+09:00 Subject: [ruby-core:35925] Re: [Ruby 1.9 - Feature #4621][Assigned] NilClass#to_hash Hi, In message "Re: [ruby-core:35924] [Ruby 1.9 - Feature #4621][Assigned] NilClass#to_hash" on Wed, 27 Apr 2011 16:46:01 +0900, Yui NARUSE writes: |Is there any reason why `to_a`, `to_s`, `to_i`, `to_f`, `to_c` are all defined on `NilClass` but not for `to_hash`? If there is not, I would like to request this feature. to_a, etc. are explicit conversion methods, whereas to_int, to_hash, etc. are implicit conversion methods. I don't see any good reason to add implicit conversion methods to nil. matz.