Skip to content

Conversation

@yuuna
Copy link

@yuuna yuuna commented Apr 20, 2019

I want to use CSV#open with undef: :repace, replace: "*" options form wrong character.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your report.
Could you check my comments?

strip: false)
strip: false,
undef: nil,
replace: nil)
Copy link
Member

@kou kou Apr 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to accept :undef and :replace in CVS#initialize?
It seems that we just need to accept them in CSV.open. Then we can remove them from options in CSV.open arguments.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix the arguments in CSV.open.

rows << row
end
assert_equal(@rows, rows)
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to new test data that fails without these new options.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make a new test data.

@kou
Copy link
Member

kou commented Jun 1, 2020

Orphan.

@kou kou closed this Jun 1, 2020
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