number_to_delimited

number_to_delimited(number, options = {}) Instance Public methods Formats a number with grouped thousands using delimiter (e.g., 12,324). You can customize the format in the options hash. Options :locale - Sets the locale to be used for formatting (defaults to current locale). :delimiter - Sets the thousands delimiter (defaults to â,â). :separator - Sets the separator between the fractional and integer digits (defaults to â.â). Examples number_to_delimited(12345678)

set_eventloop_tick

set_eventloop_tick(tick) Class Public methods def ::mainloop_abort_on_exception MultiTkIp.mainloop_abort_on_exception end def ::mainloop_abort_on_exception=(mode) MultiTkIp.mainloop_abort_on_exception=(mode) end

do_GET

do_GET(req, res) Instance Public methods Raises a NotFound exception

merge

merge(other) Instance Public methods When this is a collection of documents (#file is not set and this document contains only other documents as its direct children) merge replaces documents in this class with documents from other when the file matches and adds documents from other when the files do not. The information in other is preferred over the receiver

new

new(num) Class Public methods

post

post(path, data, initheader = nil, dest = nil) Instance Public methods Posts data (must be a String) to path. header must be a Hash like { 'Accept' => '/', ⦠}. This method returns a Net::HTTPResponse object. If called with a block, yields each fragment of the entity body in turn as a string as it is read from the socket. Note that in this case, the returned response object will not contain a (meaningful) body. dest argument is obsolete. It still works but you must not use it.

to_str

ptr.to_str => stringptr.to_str(len) => string Instance Public methods Returns the pointer contents as a string. When called with no arguments, this method will return the contents with the length of this pointer's size. When called with len, a string of len bytes will be returned. See #to_s

select_item

select_item() Instance Public methods

client

client(ts, n) Instance Public methods

new

new() Class Public methods