summaryrefslogtreecommitdiff
path: root/lib/csv/row.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csv/row.rb')
-rw-r--r--lib/csv/row.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/csv/row.rb b/lib/csv/row.rb
index fd293a0326..57dc14332e 100644
--- a/lib/csv/row.rb
+++ b/lib/csv/row.rb
@@ -49,8 +49,9 @@ class CSV
def_delegators :@row, :empty?, :length, :size
def initialize_copy(other)
- super
+ super_return_value = super
@row = @row.collect(&:dup)
+ super_return_value
end
# Returns +true+ if this is a header row.