From: "mame (Yusuke Endoh)" Date: 2012-11-24T08:47:21+09:00 Subject: [ruby-core:49916] [ruby-trunk - Feature #7068] ability to deactivate Hash#compare_by_identity() Issue #7068 has been updated by mame (Yusuke Endoh). Assignee set to matz (Yukihiro Matsumoto) Priority changed from Normal to Low Target version set to next minor Please make the proposal complete: your use case and the corner case behavior (Eric said). -- Yusuke Endoh ---------------------------------------- Feature #7068: ability to deactivate Hash#compare_by_identity() https://bugs.ruby-lang.org/issues/7068#change-33675 Author: sunaku (Suraj Kurapati) Status: Feedback Priority: Low Assignee: matz (Yukihiro Matsumoto) Category: Target version: next minor Hello, I am using ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]. There is no way to deactivate a Hash's compare by identity behavior: h = Hash.new h.compare_by_identity h.compare_by_identity? #=> true h.compare_by_identity h.compare_by_identity? #=> still true I want the ability to deactivate that behavior afterwards, like this: h.compare_by_identity = false Thanks for your consideration. -- http://bugs.ruby-lang.org/