diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-05 13:33:21 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-05 13:33:21 +0000 |
commit | 60ebd4e26a1b6ed3ad11bade520db0a19e9be190 (patch) | |
tree | 7fd02799a27da1ab9c7f57ab5705100c4dab1d3b /lib/csv/row.rb | |
parent | 21ce539f20b1376ab4644f9620b0cd1487ae99d6 (diff) |
Merge csv-3.0.0 from ruby/csv repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/csv/row.rb')
-rw-r--r-- | lib/csv/row.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/csv/row.rb b/lib/csv/row.rb index 8ff3480ae8..31eab2d0a4 100644 --- a/lib/csv/row.rb +++ b/lib/csv/row.rb @@ -48,6 +48,11 @@ class CSV extend Forwardable def_delegators :@row, :empty?, :length, :size + def initialize_copy(other) + super + @row = @row.dup + end + # Returns +true+ if this is a header row. def header_row? @header_row |