--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if ios is completely closed (for duplex streams, both reader and writer), false otherwise. - !ruby/struct:SM::Flow::VERB body: " f = File.new("testfile")\n f.close #=> nil\n f.closed? #=> true\n f = IO.popen("/bin/sh","r+")\n f.close_write #=> nil\n f.closed? #=> false\n f.close_read #=> nil\n f.closed? #=> true\n" full_name: IO#closed? is_singleton: false name: closed? params: | ios.closed? => true or false visibility: public