Skip to content

Changed File.exists? to File.exist? in lib/ffi/io/console/stty_console.rb#137

Open
Kostadin wants to merge 1 commit into
ruby:masterfrom
Kostadin:patch-1
Open

Changed File.exists? to File.exist? in lib/ffi/io/console/stty_console.rb#137
Kostadin wants to merge 1 commit into
ruby:masterfrom
Kostadin:patch-1

Conversation

@Kostadin

Copy link
Copy Markdown

Changed File.exists? to File.exist? in lib/ffi/io/console/stty_console.rb

The File.exists? method no longer exists in Ruby 4 and JRuby 10. Changed the only leftover of File.exists? to File.exist? in order to ensure compatibility.

…e.rb

The File.exists? method no longer exists in Ruby 4 and JRuby 10. Changed the only leftover of File.exists? to File.exist? in order to ensure compatibility.
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