Results for: "Array"

No documentation available
No documentation available

Returns the one-character string which cause Encoding::UndefinedConversionError.

ec = Encoding::Converter.new("ISO-8859-1", "EUC-JP")
begin
  ec.convert("\xa0")
rescue Encoding::UndefinedConversionError
  puts $!.error_char.dump   #=> "\xC2\xA0"
  p $!.error_char.encoding  #=> #<Encoding:UTF-8>
end

Returns the trailing (‘parameters’) part of the value of field 'Content-Type', or nil if no such field exists; see Content-Type response header:

res = Net::HTTP.get_response(hostname, '/todos/1')
res['content-type'] # => "application/json; charset=utf-8"
res.type_params     # => {"charset"=>"utf-8"}

Enumerates the parents of directory.

Stores all parameters of key to a Hash.

The hash has keys ‘p’, ‘q’, ‘g’, ‘pub_key’, and ‘priv_key’.

Stores all parameters of key to a Hash.

The hash has keys ‘p’, ‘q’, ‘g’, ‘pub_key’, and ‘priv_key’.

Stores all parameters of key to a Hash.

The hash has keys ‘n’, ‘e’, ‘d’, ‘p’, ‘q’, ‘dmp1’, ‘dmq1’, and ‘iqmp’.

Fetch the start character offset of the value.

Fetch the start character column of the value.

Since prism resolves num params for us, we don’t need to support this kind of logic here.

Starts tracing object allocations.

Clear recorded tracing information.

The character offset from the beginning of the source where this location ends.

The column number in characters where this location ends from the start of the line.

Return an array of extra arguments for the command. The extra arguments come from the gem configuration file read at program startup.

Adds extra args from ~/.gemrc

Comes from ripper, called on every parse error, msg is a string

No documentation available
No documentation available

def foo(…); end

^^^

Validates the Diffie-Hellman parameters associated with this instance. It checks whether a safe prime and a suitable generator are used. If this is not the case, false is returned.

See also the man page EVP_PKEY_param_check(3).

Sets saner defaults optimized for the use with HTTP-like protocols.

If a Hash params is given, the parameters are overridden with it. The keys in params must be assignment methods on SSLContext.

If the verify_mode is not VERIFY_NONE and ca_file, ca_path and cert_store are not set then the system default certificate store is used.

Responsible for finding the nearest targets to the given comment within the context of the given encapsulating node.

Configure the character offsets field for this repository and return self.

Search took: 3ms  ·  Total Results: 1482