Your IP : 18.218.94.236


Current Path : /opt/alt/ruby18/share/ri/1.8/system/IO/
Upload File :
Current File : //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(&quot;testfile&quot;).isatty   #=&gt; false\n   File.new(&quot;/dev/tty&quot;).isatty   #=&gt; true\n"
full_name: IO#isatty
is_singleton: false
name: isatty
params: |
  ios.isatty   => true or false
  ios.tty?     => true or false

visibility: public

?>