We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this behavior correct when cloning a CSV::Row?
CSV::Row
irb(main):006:0> row = CSV::Row.new([:name], ['Andre']) => #<CSV::Row name:"Andre"> irb(main):007:0> row[:name] => "Andre" irb(main):008:0> dup_row = row.dup => #<CSV::Row name:"Andre"> irb(main):009:0> dup_row[:name] => "Andre" irb(main):010:0> dup_row.delete(:name) => [:name, "Andre"] irb(main):011:0> dup_row[:name] => nil irb(main):012:0> row['name'] => nil
I expected that when modifying the duplicated row would not change the original object.
Using ruby 2.5.1p57
The text was updated successfully, but these errors were encountered:
7f93155
I've added support for the feature.
Sorry, something went wrong.
Awesome, thank you!
No branches or pull requests
Is this behavior correct when cloning a
CSV::Row
?I expected that when modifying the duplicated row would not change the original object.
Using ruby 2.5.1p57
The text was updated successfully, but these errors were encountered: