Project

General

Profile

« Previous | Next » 

Revision b219cd5a

Added by Jim Kane almost 5 years ago

[ruby/csv] Make CSV::Row#dup return a usable Row (#108)

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

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.

  • Simplify

https://github.com/ruby/csv/commit/64a1ea06fc