Skip to content
New issue

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

File.open should accept :newline keyword for text mode #5817

Open
headius opened this issue Aug 6, 2019 · 0 comments

Comments

@headius
Copy link
Member

commented Aug 6, 2019

Yanked out of #5118

Ruby 2.5 added the ability to specify that a file should be opened in text mode by passing the newline: true keyword argument to File.open. We have never added this feature. It probably only needs a bit of work to intercept the keyword argument and set the appropriate bits, like we do when processing file modes like "rt".

@headius headius added the help wanted label Aug 6, 2019

@headius headius referenced this issue Aug 6, 2019

Closed

Unimplemented Ruby 2.5 Features #5118

3 of 12 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.