ios.isatty â true or false
Instance Public methods
Returns true
if ios is associated with a terminal
device (tty), false
otherwise.
File.new("testfile").isatty #=> false File.new("/dev/tty").isatty #=> true
Returns true
if ios is associated with a terminal
device (tty), false
otherwise.
File.new("testfile").isatty #=> false File.new("/dev/tty").isatty #=> true
Please login to continue.