From: "drbrain (Eric Hodel)" Date: 2012-12-08T02:07:06+09:00 Subject: [ruby-core:50666] [ruby-trunk - Bug #7528][Assigned] CSV.== fails to check object type Issue #7528 has been updated by drbrain (Eric Hodel). Category set to lib Status changed from Open to Assigned Assignee set to JEG2 (James Gray) Target version set to 2.0.0 ---------------------------------------- Bug #7528: CSV.== fails to check object type https://bugs.ruby-lang.org/issues/7528#change-34512 Author: SteveW (Stephen Wattam) Status: Assigned Priority: Normal Assignee: JEG2 (James Gray) Category: lib Target version: 2.0.0 ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux] CSV::Row's equality method presumes it is comparing another CSV::Row. It fails when the object to be compared doesn't support the 'row' method: /usr/lib/ruby/1.9.1/csv.rb:478:in `==': undefined method `row' for nil:NilClass (NoMethodError) from test.rb:7:in `
' -- http://bugs.ruby-lang.org/