delete

hsh.delete(key) â valuehsh.delete(key) {| key | block } â value Instance Public methods Deletes the key-value pair and returns the value from hsh whose key is equal to key. If the key is not found, returns the default value. If the optional code block is given and the key is not found, pass in the key and return the result of block. h = { "a" => 100, "b" => 200 } h.delete("a") #=> 100 h.delete("z")

thread_wait

thread_wait(check_root = false) Instance Public methods

printn

printn(*opts) Instance Public methods See IRB::OutputMethod#printn for more detail.

recvfrom

ipsocket.recvfrom(maxlen) => [mesg, ipaddr]ipsocket.recvfrom(maxlen, flags) => [mesg, ipaddr] Instance Public methods Receives a message and return the message as a string and an address which the message come from. maxlen is the maximum number of bytes to receive. flags should be a bitwise OR of Socket::MSG_* constants. ipaddr is same as IPSocket#{peeraddr,addr}. u1 = UDPSocket.new u1.bind("127.0.0.1", 4913) u2 = UDPSocket.new u2.send "uuuu", 0, "127.0.0.1", 4913 p u

icursor

icursor(index) Instance Public methods

new

new(config={}, default=Config::General) Class Public methods Creates a new generic server from config. The default configuration comes from default.

==

session1 == session2 â boolean Instance Public methods

mainloop_abort_on_exception=

mainloop_abort_on_exception=(mode) Class Public methods

selectSingleNode

selectSingleNode(arg0) Instance Public methods IXMLDOMNode selectSingleNode execute query on the subtree BSTR arg0 --- queryString [IN]

set_mark

set_mark(mark, index) Instance Public methods Alias for: mark_set