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.

@olleolleolle olleolleolle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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