From: Yusuke Endoh Date: 2010-06-12T02:12:23+09:00 Subject: [ruby-core:30745] [Feature #3427] instances of Dir class can't be compared Issue #3427 has been updated by Yusuke Endoh. Target version set to 1.9.x Hi, 2010/6/11 caleb clausen : > Dir#== and friends seem to be absent. In principle, absent method is not a bug. I move this ticket to 1.9.x feature. File#== is also absent, but I think it is arguable whether it should return true or false: f1 = File.new("foo.txt") f2 = File.new("foo.txt") f1.gets p f1 == f2 #=> true expected? or false? -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3427 ---------------------------------------- http://redmine.ruby-lang.org