diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csv.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/csv.rb b/lib/csv.rb index 58953a2bf9..a0209223c2 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -475,7 +475,8 @@ class CSV # same order as +other+. # def ==(other) - @row == other.row + return @row == other.row if other.is_a? CSV::Row + @row == other end # |