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

Replace File.dirname(__FILE__) with __dir__ #1067

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Sep 2, 2023

Which reads a bit easier. The only occurence left is in the specs of dir itself.

Which reads a bit easier. The only occurence left is in the specs of
__dir__ itself.
@eregon eregon merged commit e6fb9b8 into ruby:master Sep 4, 2023
10 checks passed
@herwinw herwinw deleted the File_dirname__FILE__ branch September 4, 2023 09:23
herwinw added a commit to herwinw/natalie that referenced this pull request Sep 4, 2023
herwinw added a commit to herwinw/natalie that referenced this pull request Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants