close_write

ios.close_write â nil Instance Public methods Closes the write end of a duplex I/O stream (i.e., one that contains both a read and a write stream, such as a pipe). Will raise an IOError if the stream is not duplexed. f = IO.popen("/bin/sh","r+") f.close_write f.print "nowhere" produces: prog.rb:3:in `write': not opened for writing (IOError) from prog.rb:3:in `print' from prog.rb:3

new

new(*args) Class Public methods

grid

grid(*args) Class Public methods Alias for: configure

replaceChild

replaceChild(arg0, arg1) Instance Public methods IXMLDOMNode replaceChild replace a child node IXMLDOMNode arg0 --- newChild [IN] IXMLDOMNode arg1 --- oldChild [IN]

thread_tkwait

thread_tkwait() Instance Public methods

concat

concat(paths) Instance Public methods

isatty

ios.isatty â true or false Instance Public methods Returns true if ios is associated with a terminal device (tty), false otherwise. File.new("testfile").isatty #=> false File.new("/dev/tty").isatty #=> true

chop

str.chop â new_str Instance Public methods Returns a new String with the last character removed. If the string ends with \r\n, both characters are removed. Applying chop to an empty string returns an empty string. String#chomp is often a safer alternative, as it leaves the string unchanged if it doesn't end in a record separator. "string\r\n".chop #=> "string" "string\n\r".chop #=> "string\n" "string\n".chop #=> "string" "string".chop #=> "strin" "x".c

tag_delete

tag_delete(tag, *nodes) Instance Public methods

index

index() Instance Public methods