Results for: "module_function"

No documentation available
No documentation available
No documentation available
No documentation available

Return a String indicating who caused this request to be added (only valid for implicit requests)

No documentation available
No documentation available
No documentation available

Enumerates trusted certificates.

Loads the given certificate_file

Iterates the given block for each element with an index, which starts from offset. If no block is given, returns a new Enumerator that includes the index, starting from offset

offset

the starting index to use

Returns a new lazy enumerator with the concatenated results of running block once for every element in the lazy enumerator.

["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]

A value x returned by block is decomposed if either of the following conditions is true:

Otherwise, x is contained as-is in the return value.

[{a:1}, {b:2}].lazy.flat_map {|i| i}.force
#=> [{:a=>1}, {:b=>2}]

Like Enumerable#select, but chains operation to be lazy-evaluated.

Like Enumerable#filter_map, but chains operation to be lazy-evaluated.

(1..).lazy.filter_map { |i| i * 2 if i.even? }.first(5)
#=> [4, 8, 12, 16, 20]

Sets the length of the authentication tag to be generated or to be given for AEAD ciphers that requires it as in input parameter. Note that not all AEAD ciphers support this method.

In OCB mode, the length must be supplied both when encrypting and when decrypting, and must be before specifying an IV.

Sets the length of the plaintext / ciphertext message that will be processed in CCM mode. Make sure to call this method after key= and iv= have been set, and before auth_data=.

Only call this method after calling Cipher#encrypt or Cipher#decrypt.

Returns integer 80, the default port to use for HTTP requests:

Net::HTTP.http_default_port # => 80

Returns integer 443, the default port to use for HTTPS requests:

Net::HTTP.https_default_port # => 443

Returns integer 80, the default port to use for HTTP requests:

Net::HTTP.http_default_port # => 80

Returns integer 443, the default port to use for HTTPS requests:

Net::HTTP.https_default_port # => 443

Returns whether the request may have a body:

Net::HTTP::Post.new(uri).request_body_permitted? # => true
Net::HTTP::Get.new(uri).request_body_permitted?  # => false

Define --enable / --disable style option

Appears as --enable-name in help message.

Define --enable / --disable style option

Appears as --disable-name in help message.

The name of the state file.

It is ok to remove a gemspec from the dependency list?

If removing the gemspec creates breaks a currently ok dependency, then it is NOT ok to remove the gemspec.

Search took: 5ms  ·  Total Results: 3310