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"}, ';')
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.
Turns email_address
into an OpenSSL::X509::Name
Asks the user to answer question
with an answer from the given list
.
Add the –platform option to the option parser.
Parses form data in io
with the given boundary
Parses form data in io
with the given boundary
@!visibility private Enumerates each action in the log @yield [Action]
@return [RequirementState] the current state the resolution is
operating upon
(see Gem::Resolver::Molinillo::ResolutionState#activated)
Starts tracing object allocations.
Stop tracing object allocations.
Note that if ::trace_object_allocations_start
is called n-times, then tracing will stop after calling ::trace_object_allocations_stop
n-times.