From: Yuki Sonoda Date: 2009-05-24T14:27:39+09:00 Subject: [ruby-dev:38537] [Bug #1508] Recursive arrays with the same structure are not eql?. Bug #1508: Recursive arrays with the same structure are not eql?. http://redmine.ruby-lang.org/issues/show/1508 起票者: Yuki Sonoda ステータス: Open, 優先度: Normal Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2009-05-24 trunk 23554) [i386-darwin9.7.0] a = [] a << a としたとき、 a と [a] は同じ構造を持っているのでeql?です。一方、a と [[a]] は同じ構造にもかかわらず eql? ではありません。 ---------------------------------------- http://redmine.ruby-lang.org