hash.c: `Hash#shift` to return `nil` when a hash is empty.
It used to be return the default value if available, but it should ignore the default value for behavior consistency. CRuby will adopt this behavior too in the future. [ruby-bugs:16908]
Showing
Please register or sign in to comment