ios.tty? â true or false
Instance Public methods
Returns true
if ios is associated with a terminal
device (tty), false
otherwise.
1 2 | File . new ( "testfile" ).isatty #=> false File . new ( "/dev/tty" ).isatty #=> true |
Returns true
if ios is associated with a terminal
device (tty), false
otherwise.
1 2 | File . new ( "testfile" ).isatty #=> false File . new ( "/dev/tty" ).isatty #=> true |
Designed by : w10schools
service@w10schools.com
Please login to continue.