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

File and Dir exists? replaced with exist? #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bmillwood
Copy link

See e.g. https://bugs.ruby-lang.org/issues/17391 -- the exists? variants were deprecated in ruby 2.1 and removed in 3.2.

The exist? variants seem to be already present in 1.9.1 (see 1 and 2), so shouldn't affect our list of supported versions.

(Note that other changes were needed to run on latest ruby for me, this is just the one that seems easiest / least controversial)

See e.g. https://bugs.ruby-lang.org/issues/17391 -- the `exists?`
variants were deprecated in ruby 2.1 and removed in 3.2.

The `exist?` variants seem to be already present in 1.9.1 (see [1]
and [2]), so shouldn't affect our list of supported versions.

[1]: https://ruby-doc.org/core-1.9.1/Dir.html#method-c-exist-3F
[2]: https://ruby-doc.org/core-1.9.1/File.html#method-c-exist-3F
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.

1 participant