post_connection_check

post_connection_check(hostname) Instance Public methods Perform hostname verification after an SSL connection is established This method MUST be called after calling connect to ensure that the hostname of a remote peer has been verified.

def_iconv_convert

def_iconv_convert(to_enc, from_enc, depth=0) Instance Public methods

complete

complete(min_visibility) Instance Public methods Prepares the RDoc code object tree for use by a generator. It finds unique classes/modules defined, and replaces classes/modules that are aliases for another one by a copy with RDoc::ClassModule#is_alias_for set. It updates the RDoc::ClassModule#constant_aliases attribute of ârealâ classes or modules. It also completely removes the classes and modules that should be removed from the documentation and the methods that have a visibilit

invalid_namespace?

invalid_namespace?() Class Public methods

blockquote

blockquote(cite = {}) Instance Public methods Generate a BlockQuote element as a string. cite can either be a string, give the URI for the source of the quoted text, or a hash, giving all attributes of the element, or it can be omitted, in which case the element has no attributes. The body is provided by the passed-in no-argument block blockquote("http://www.example.com/quotes/foo.html") { "Foo!" } #=> "<BLOCKQUOTE CITE=\"http://www.example.com/quotes/foo.html\">Foo!<

text_selection_to

text_selection_to(idx) Instance Public methods

listen

socket.listen( int ) => 0 Instance Public methods Listens for connections, using the specified int as the backlog. A call to listen only applies if the socket is of type SOCK_STREAM or SOCK_SEQPACKET. Parameter backlog - the maximum length of the queue for pending connections. Example 1 require 'socket' include Socket::Constants socket = Socket.new( AF_INET, SOCK_STREAM, 0 ) sockaddr = Socket.pack_sockaddr_in( 2200, 'localhost' ) socket.bind( sockaddr ) socket.listen( 5 ) E

draw9

draw9() Instance Public methods Fan

read_file

read_file(filename, encoding, force_transcode = false) Class Public methods Reads the contents of filename and handles any encoding directives in the file. The content will be converted to the encoding. If the file cannot be converted a warning will be printed and nil will be returned. If force_transcode is true the document will be transcoded and any unknown character in the target encoding will be replaced with '?'

new

Cookie.new(name_string,*value)Cookie.new(options_hash) Class Public methods Create a new CGI::Cookie object. name_string The name of the cookie; in this form, there is no domain or expiration. The path is gleaned from the SCRIPT_NAME environment variable, and secure is false. *value value or list of values of the cookie options_hash A Hash of options to initialize this Cookie. Possible options are: name the name of the cookie. Required. value the cookie's value o