From: Marc-Andre Lafortune Date: 2010-06-07T23:27:15+09:00 Subject: [ruby-core:30635] [RubySpec #3401][Rejected] arrays containing them selves do not apply == sensibly. Issue #3401 has been updated by Marc-Andre Lafortune. Status changed from Open to Rejected Ruby 1.9's treatment of recursive structures has been set so that two structures are equal if they contain the elements that are equal, or said otherwise if no difference can be found between them. If you can give a "path" x, y, z..., such that a[x][y][z] != b[x][y][z], then and only then will a != b. In your example, c[0] == a[0], c[1] == a[1] and c.size == a.size, so c == a. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3401 ---------------------------------------- http://redmine.ruby-lang.org