set_encoding

io.set_encoding(ext_enc) â ioio.set_encoding("ext_enc:int_enc") â ioio.set_encoding(ext_enc, int_enc) â ioio.set_encoding("ext_enc:int_enc", opt) â ioio.set_encoding(ext_enc, int_enc, opt) â io Instance Public methods If single argument is specified, read string from io is tagged with the encoding specified. If encoding is a colon separated two encoding names âA:Bâ, the read string is converted from encoding A (external encoding) to encoding B (internal

setup_params

setup_params(config, req, res) Instance Public methods This format specification is a subset of mod_log_config of Apache: %a Remote IP address %b Total response size %e{variable} Given variable in ENV %f Response filename %h Remote host name %{header}i Given request header %l Remote logname, always â-â %m Request method %{attr}n Given request attribute from req.attributes %{header}o Given response header %p Server's request port %{format}p The can

toplevel

toplevel(win) Class Public methods

item_dump

item_dump(item) Instance Public methods

_curr_cmd_id

_curr_cmd_id() Class Public methods ### â> definition is moved to TkUtil module def _get_eval_string(str, enc_mode = nil) return nil if str == None if str.kind_of?(TkObject) str = str.path elsif str.kind_of?(String) str = _toUTF8(str) if enc_mode elsif str.kind_of?(Symbol) str = str.id2name str = _toUTF8(str) if enc_mode elsif str.kind_of?(Hash) str = hash_kv(str, enc_mode).join(" ") elsif str.kind_of?(Array) str = array2tk_list(str) str = _toUTF8(str) if enc_mode

zip

ary.zip(arg, ...) â new_aryary.zip(arg, ...) { |arr| block } â nil Instance Public methods Converts any arguments to arrays, then merges elements of self with corresponding elements from each argument. This generates a sequence of ary.size n-element arrays, where n is one more than the count of arguments. If the size of any argument is less than the size of the initial array, nil values are supplied. If a block is given, it is invoked for each output array, other

bind_remove_all

bind_remove_all(context) Instance Public methods

unix?

addrinfo.unix? => true or false Instance Public methods returns true if addrinfo is UNIX address. returns false otherwise. Addrinfo.tcp("127.0.0.1", 80).unix? #=> false Addrinfo.tcp("::1", 80).unix? #=> false Addrinfo.unix("/tmp/sock").unix? #=> true

reset

digest_obj.reset â digest_obj Instance Public methods Resets the digest to the initial state and returns self.

root

root() Instance Public methods