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

`ARGF.read_nonblock` can call with `exception:` and without `outbuf` #1698

Merged
merged 2 commits into from Mar 10, 2020

Conversation

@znz
Copy link
Member

znz commented Jan 4, 2019

exception:outbuf があってもなくても指定できるのと、デフォルト値があるので、まとめられると思ったのでまとめました。
わかれていると本文の「第二の形式」というのが曖昧になっていたので、その修正も兼ねています。

refm/api/src/_builtin/ARGF Outdated Show resolved Hide resolved
Co-Authored-By: Seiei Miyagi <hanachin@gmail.com>
@hanachin hanachin merged commit 93d4929 into rurema:master Mar 10, 2020
3 checks passed
3 checks passed
rake
Details
misspell
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@hanachin

This comment has been minimized.

Copy link
Member

hanachin commented Mar 10, 2020

ごめんなさいマージしてから気づいたのですが統一してしまうと本文中の「第二の形式では読み込んだデータを outbuf に破壊的に格納してそれを返します。」も修正が必要ですね... 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.