Skip to content

Make CSV::Row#dup return a usable Row#108

Merged
kou merged 2 commits intoruby:masterfrom
fastjames:row_dup
Oct 22, 2019
Merged

Make CSV::Row#dup return a usable Row#108
kou merged 2 commits intoruby:masterfrom
fastjames:row_dup

Conversation

@fastjames
Copy link
Contributor

Previously, calling dup on a CSV::Row object yielded an object whose
copy was too shallow. Changing the clone's fields would also change the
fields on the source. This change makes the clone more distinct from the
source, so that changes can be made to its fields without affecting the
source.

fastjames and others added 2 commits October 21, 2019 21:14
Previously, calling `dup` on a `CSV::Row` object yielded an object whose
copy was too shallow. Changing the clone's fields would also change the
fields on the source. This change makes the clone more distinct from the
source, so that changes can be made to its fields without affecting the
source.
@kou kou merged commit 64a1ea0 into ruby:master Oct 22, 2019
@kou
Copy link
Member

kou commented Oct 22, 2019

Thanks.
I've merged with simplified implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants