Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/IO/isatty-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns <tt>true</tt> if <em>ios</em> is associated with a terminal device (tty), <tt>false</tt> 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