Files
Erik Berlin c71329d429 [ruby/io-console] Keep IO#isatty an alias of IO#tty? on JRuby
The C extension defines both tty? and isatty in IO::platform_tty, so
they stay the same method once io/console is loaded. The JRuby
backends' PlatformTty only defined tty?, so after
https://github.com/ruby/io-console/commit/f686b8305 loading
io/console left IO#isatty as the original method, which ruby/spec's
"IO#isatty is an alias of IO#tty?" checks.

https://github.com/ruby/io-console/commit/77d675c69e
2026-10-20 19:12:05 +00:00
..