The new runtime replaces a few fundamental methods in some builtin Ruby classes, like Array#==, Struct#==, and Struct#<=>. I suspect these replacements are buggy (e.g., adjusting == without also changing eql? and hash is suspicious). But aesthetically this is wrong anyway -- should be easy enough to avoid monkey patching such fundamental code.
The new runtime replaces a few fundamental methods in some builtin Ruby classes, like
Array#==
,Struct#==
, andStruct#<=>
. I suspect these replacements are buggy (e.g., adjusting==
without also changingeql?
andhash
is suspicious). But aesthetically this is wrong anyway -- should be easy enough to avoid monkey patching such fundamental code.