TODO: move to minitest
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].
Parses the cookie in str
Parses the cookies in str
Returns the source encoding name as a string.
Returns the source encoding name as a string.
Yields to a block and preserves the previous set of objects being printed.
Check whether the object_id id
is in the current buffer of objects to be pretty printed. Used to break cycles in chains of objects to be pretty printed.
Adds the object_id id
to the set of objects being pretty printed, so as to not repeat objects.
Removes an object from the set of objects being pretty printed.
Add the –key option
Add the –http-proxy option
Add the –source option
Asks the user to answer question
with an answer from the given list
.
Add the –platform option to the option parser.
Sets IO
operations on io
to be non-blocking