Add spec
to +@fetcher+ serving the data in the file path
. repo
indicates which repo to make spec
appear to be in.
Allows tests to use a random (but controlled) port number instead of a hardcoded one. This helps CI tools when running parallels builds on the same builder slave.
Choose from a list of options. question
is a prompt displayed above the list. list
is a list of option strings. Returns the pair [option_name, option_index].
Ask for a password. Does not echo response to terminal.
Given the path to a gem file, validates against its own MD5 checksum
Path to gem file
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)