From: "SteveW (Stephen Wattam)" Date: 2012-12-07T00:04:30+09:00 Subject: [ruby-core:50636] [ruby-trunk - Bug #7528][Open] CSV.== fails to check object type Issue #7528 has been reported by SteveW (Stephen Wattam). ---------------------------------------- Bug #7528: CSV.== fails to check object type https://bugs.ruby-lang.org/issues/7528 Author: SteveW (Stephen Wattam) Status: Open Priority: Normal Assignee: Category: Target version: 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/