send

basicsocket.send(mesg, flags [, dest_sockaddr]) => numbytes_sent Instance Public methods send mesg via basicsocket. mesg should be a string. flags should be a bitwise OR of Socket::MSG_* constants. dest_sockaddr should be a packed sockaddr string or an addrinfo. TCPSocket.open("localhost", 80) {|s| s.send "GET / HTTP/1.0\r\n\r\n", 0 p s.read }

default_value

default_value(val=nil, &b) Instance Public methods #default_value is available only when the variable is an assoc array.

tables

tables(name = nil) Instance Public methods Returns the list of all tables in the schema search path or a specified schema.

split_all

split_all(path) Instance Public methods Split a file path into individual directory names. For example: split_all("a/b/c") => ['a', 'b', 'c']

extmake

extmake(target) Instance Public methods

grpowned?

File.grpowned?(file_name) â true or false Class Public methods Returns true if the named file exists and the effective group id of the calling process is the owner of the file. Returns false on Windows. file_name can be an IO object.

!

!() Instance Public methods Delegates ! to the _getobj_

cb_call

cb_call() Instance Public methods

measure_displayof

measure_displayof(fnt, win, text) Class Public methods

rmdir

rmdir(list, options = {}) Class Public methods Options: noop, verbose Removes one or more directories. FileUtils.rmdir 'somedir' FileUtils.rmdir %w(somedir anydir otherdir) # Does not really remove directory; outputs message. FileUtils.rmdir 'somedir', :verbose => true, :noop => true