--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns true if ios is associated with a terminal device (tty), false otherwise.
- !ruby/struct:SM::Flow::VERB
body: " File.new("testfile").isatty #=> false\n File.new("/dev/tty").isatty #=> true\n"
full_name: IO#isatty
is_singleton: false
name: isatty
params: |
ios.isatty => true or false
ios.tty? => true or false
visibility: public