Returns the default-handler, which is called when no handler for a method-name is found.
It is either a Proc object or nil.
Deprecated from WEBrick/1.2.2, but does not break anything.
Specifies the valid IP addresses that are allowed to connect to the server.
Each IP is either a String or a Regexp.
define methodname as instance method of current module, using ERB object or eRuby file
define methodname as instance method of current module, using ERB object or eRuby file
Set header fields and a body from HTML form data. params should be an Array of Arrays or a Hash containing HTML form data. Optional argument sep means data record separator.
Values are URL encoded as necessary and the content-type is set to application/x-www-form-urlencoded
Example:
http.form_data = {"q" => "ruby", "lang" => "en"} http.form_data = {"q" => ["ruby", "perl"], "lang" => "en"} http.set_form_data({"q" => "ruby", "lang" => "en"}, ';')
Yields to a block and preserves the previous set of objects being printed.
Removes an object from the set of objects being pretty printed.
Fully expand the name, even if the prefix wasn’t specified in the source file.
@return the previous sibling (nil if unset)
Retrieves the pre-configured API key key or terminates interaction with an error.
Creates a self-signed certificate with an issuer and subject from email, a subject alternative name of email and the given extensions for the key.
Allows OptionParser to handle HTTP URIs.
Asks for a password with a prompt
Asks the user to answer question with an answer from the given list.