even?

fix.even? â true or false Instance Public methods Returns true if fix is an even number.

parse_struct_signature

parse_struct_signature(signature, tymap=nil) Instance Public methods Parses a C struct's members Example: include Fiddle::CParser #=> Object parse_struct_signature(['int i', 'char c']) #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]]

def_exception

def_exception(k, n, m, s = StandardError) Class Public methods Exception2MessageMapper#def_exception(k, n, m, s) k: class to define exception under. n: exception_name m: message_form s: superclass(default: StandardError) define exception named ``c'' with message m.

deleteln

deleteln() Class Public methods Delete the line under the cursor.

clear

clear() Instance Public methods

setsockopt

setsockopt(level, optname, optval)setsockopt(socketoption) Instance Public methods Sets a socket option. These are protocol and system specific, see your local system documentation for details. Parameters level is an integer, usually one of the SOL_ constants such as Socket::SOL_SOCKET, or a protocol level. A string or symbol of the name, possibly without prefix, is also accepted. optname is an integer, usually one of the SO_ constants, such as Socket::SO_REUSEADDR. A string or

converters

converters() Instance Public methods Returns the current list of converters in effect. See ::new for details. Built-in converters will be returned by name, while others will be returned as is.

width_list

width_list() Instance Public methods

send_request

send_request(name, path, data = nil, header = nil) Instance Public methods Sends an HTTP request to the HTTP server. Also sends a DATA string if data is given. Returns a Net::HTTPResponse object. This method never raises Net::* exceptions. response = http.send_request('GET', '/index.html') puts response.body

require_path_info?

require_path_info?() Instance Public methods Deprecated from WEBrick/1.2.2, but does not break anything.