diff options
Diffstat (limited to 'lib/csv.rb')
-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 45a087ff0f..b16e817d09 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -870,7 +870,8 @@ class CSV # Returns +true+ if all rows of this table ==() +other+'s rows. def ==(other) - @table == other.table + return @table == other.table if other.is_a? CSV::Table + @table == other end # |