From: Urabe Shyouhei Date: 2008-07-21T23:51:28+09:00 Subject: [ruby-core:17891] Re: duping the NilClass Robert Dober wrote: > Hmm I am not sure about that, I believe that true can be seen as a > completely different object than true without > coming up with any conceptional problems. > FYI, expression "true" refers to the same object on multiple invocations: irb(main):001:0> a = true => true irb(main):002:0> a.instance_variable_set "@foo", ["bar", "baz"] => ["bar", "baz"] irb(main):003:0> b = true => true irb(main):004:0> b.instance_variable_get "@foo" => ["bar", "baz"] irb(main):005:0>