send

udpsocket.send(mesg, flags, host, port) => numbytes_sentudpsocket.send(mesg, flags, sockaddr_to) => numbytes_sentudpsocket.send(mesg, flags) => numbytes_sent Instance Public methods Sends mesg via udpsocket. flags should be a bitwise OR of Socket::MSG_* constants. u1 = UDPSocket.new u1.bind("127.0.0.1", 4913) u2 = UDPSocket.new u2.send "hi", 0, "127.0.0.1", 4913 mesg, addr = u1.recvfrom(10) u1.send mesg, 0, addr[3], addr[1] p u2.recv(100) #=> "hi"

new

new(ary_or_hash) Class Public methods Creates a new Tuple from ary_or_hash which must be an Array or Hash.

display_names

display_names(names) Instance Public methods Displays each name in name

round

round(n, mode) Instance Public methods Round to the nearest 1 (by default), returning the result as a BigDecimal. BigDecimal('3.14159').round #=> 3 BigDecimal('8.7').round #=> 9 If n is specified and positive, the fractional part of the result has no more than that many digits. If n is specified and negative, at least that many digits to the left of the decimal point will be 0 in the result. BigDecimal('3.14159').round(3) #=> 3.142 BigDecimal('13345.234').round(-2) #=>

selectSingleNode

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

to_digits

a.to_digits â string Instance Public methods Converts a BigDecimal to a String of the form ânnnnnn.mmmâ. This method is deprecated; use #to_s(âFâ) instead. require 'bigdecimal' require 'bigdecimal/util' d = BigDecimal.new("3.14") d.to_digits # => "3.14"

exponent

exponent() Instance Public methods Returns the exponent of the BigDecimal number, as an Integer. If the number can be represented as 0.xxxxxx*10**n where xxxxxx is a string of digits with no leading zeros, then n is the exponent.

marshal_load

marshal_load(array) Instance Public methods Loads this AnyMethod from array. For a loaded AnyMethod the following methods will return cached values: full_name parent_name

get_limit

get_limit(limit_type, slave = '', slot = nil) Class Public methods

item_toggle_recurse

item_toggle_recurse(item) Instance Public methods