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

Update Dir.glob document for Ruby 2.7 #2078

Merged
merged 2 commits into from
Jan 2, 2020
Merged

Update Dir.glob document for Ruby 2.7 #2078

merged 2 commits into from
Jan 2, 2020

Conversation

pocke
Copy link
Member

@pocke pocke commented Dec 31, 2019

#2071

Dir.globでnull文字区切りで複数パターンを与えることができる機能が2.7で削除されたので、それをドキュメントにも適用します。

until 2.7.0で説明をくくった以外にも、2.7以前のものでもnull文字列で区切る方法よりも配列を渡す方法が先に説明されるようにしました。

念の為にPathname.globも見てみましたが、そちらではnull文字区切りについては触れていなかったので修正は必要ありませんでした。

refm/api/src/_builtin/Dir Outdated Show resolved Hide resolved
@pocke pocke merged commit b238eb6 into rurema:master Jan 2, 2020
@pocke pocke deleted the dir-glob branch January 2, 2020 05:49
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