From: Bharadwaj Srigiriraju Date: 2013-03-20T14:47:08+09:00 Subject: Why was the object_id for true and nil changed in ruby2.0? irb(main):001:0> true.object_id => 20 irb(main):002:0> false.object_id => 0 irb(main):003:0> nil.object_id => 8 The values for true and nil were respectively 2, 4 in 1.9.3 and 1.8.7, but have been changed to 20, 8 in ruby2.0.0 - even though the id of false remains the same i.e. 0 and the ids for Fixnum maintains the same old 2n+1 pattern. What's the reason behind this object_id change? Why was this change made? How is this going to help developers? The full question can be seen here: http://stackoverflow.com/questions/15506763/why-was-the-object-id-for-true-and-nil-changed-in-ruby2-0 thanks! -- Posted via http://www.ruby-forum.com/.