safeip_set_log_cmd

safeip_set_log_cmd(cmd = Proc.new) Instance Public methods

instantiate

instantiate(attributes, column_types = {}) Instance Public methods Given an attributes hash, instantiate returns a new instance of the appropriate class. Accepts only keys as strings. For example, Post.all may return Comments, Messages, and Emails by storing the record's subclass in a type attribute. By calling instantiate instead of new, finder methods ensure they get new instances of the appropriate class for each record. See +ActiveRecord::Inheritance#discriminate_class_for_reco

connect

udpsocket.connect(host, port) => 0 Instance Public methods Connects udpsocket to host:port. This makes possible to send without destination address. u1 = UDPSocket.new u1.bind("127.0.0.1", 4913) u2 = UDPSocket.new u2.connect("127.0.0.1", 4913) u2.send "uuuu", 0 p u1.recvfrom(10) #=> ["uuuu", ["AF_INET", 33230, "localhost", "127.0.0.1"]]

stackorder_isabove 2

stackorder_isabove(target) Instance Public methods Also aliased as: stackorder_is_above, wm_stackorder_isabove, wm_stackorder_is_above

call

call(*args) Class Public methods Initializes a new responder and invokes the proper format. If the format is not defined, call to_format.

unset_cellattrib

unset_cellattrib(idx, name) Instance Public methods

new

new(absolute_name, relative_name = absolute_name) Class Public methods Creates a new TopLevel for the file at absolute_name. If documentation is being generated outside the source dir relative_name is relative to the source directory.

current_path 2

current_path() Instance Public methods

new

new(*args) Class Public methods

ip?

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