Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
StringIO#tty?
() -> bool
tty?
ext/stringio/stringio.c
View on GitHub ↗
static VALUE
strio_false(VALUE self)
{
StringIOForRead(self);
return Qfalse;
}
Alias of #isatty
Returns false; for compatibility with IO.