From: Bharadwaj Srigiriraju Date: 2013-03-21T01:22:57+09:00 Subject: Re: Why was the object_id for true and nil changed in ruby2.0? Hans Mackowiak wrote in post #1102451: > hm okay, Flonums may be not the reason because they are only in 2.1dev > > a = 1.1 + 1.2 > b = 1.1 + 1.2 > p(a.object_id == b.object_id) > > this shows true on 2.1, its false on 2.0p0 This shows true in my system too, but my ruby -v is ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux], not 2.1. -- Posted via http://www.ruby-forum.com/.