Skip to content

Revise Dir.open type#219

Merged
soutaro merged 1 commit intoruby:masterfrom
pocke:dir-open
Feb 26, 2020
Merged

Revise Dir.open type#219
soutaro merged 1 commit intoruby:masterfrom
pocke:dir-open

Conversation

@pocke
Copy link
Member

@pocke pocke commented Feb 25, 2020

Dir.open with block accepts encoding: Encoding | string | nil, but the type definition only accepted encoding: Encoding.

`Dir.open` with block accepts `encoding: Encoding | string | nil`, but the type definition only accepted `encoding: Encoding`.
Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

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

👏

@soutaro soutaro merged commit be712be into ruby:master Feb 26, 2020
@pocke pocke deleted the dir-open branch February 26, 2020 07:52
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