D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IO
/
Filename :
isatty-i.yaml
back
Copy
--- !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