We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.real_path
.realpath
The spelling is almost everywhere without an underscore:
realpath
File
basename
dirname
tempfile
expand_path
File.realpath
So it's pretty clear that the spelling real_path is an odd incidence. I regularly misspell it.
real_path
I'd like to rename the method to File.realpath because it just makes most sense.
The text was updated successfully, but these errors were encountered:
Yeah, I think we tried to "fix" this compared to Ruby, but Ruby was right 😅
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The spelling is almost everywhere without an underscore:
realpath
realpath
File
with similar name uses an underscore:basename
,dirname
,tempfile
etc. (expand_path
is a combination of verb and subject)File.realpath
realpath
So it's pretty clear that the spelling
real_path
is an odd incidence. I regularly misspell it.I'd like to rename the method to
File.realpath
because it just makes most sense.The text was updated successfully, but these errors were encountered: