Results for: "String# "

No documentation available
No documentation available

Find cached filename in Gem.path. Returns nil if the file cannot be found.

No documentation available

Looks up the latest specification for dependency and adds it to the always_install list.

Rewinds the enumerator chain by calling the “rewind” method on each enumerable in reverse order. Each call is performed only if the enumerable responds to the method.

Returns a printable version of the enumerator chain.

Rewinds the product enumerator by calling the “rewind” method on each enumerable in reverse order. Each call is performed only if the enumerable responds to the method.

Returns a printable version of the product enumerator.

Returns the number that defines the first element of this arithmetic sequence.

Returns the number that defines the common difference between two adjacent elements in this arithmetic sequence.

Returns the first number in this arithmetic sequence, or an array of the first n elements.

Returns the last number in this arithmetic sequence, or an array of the last n elements.

Convert this arithmetic sequence to a printable form.

Returns the hash value of a given string. This is equivalent to Digest::Class.new(*parameters).digest(string), where extra parameters, if any, are passed through to the constructor and the string is passed to digest().

Returns the hex-encoded hash value of a given string. This is almost equivalent to Digest.hexencode(Digest::Class.new(*parameters).digest(string)).

Returns the base64 encoded hash value of a given string. The return value is properly padded with ‘=’ and contains no line feeds.

Returns a new Fiddle::Pointer instance that is a dereferenced pointer for this pointer.

Analogous to the star operator in C.

Returns a string formatted with an easily readable representation of the internal state of the pointer.

Wakes up all threads waiting for this lock.

See Object#inspect.

Performs a Miller-Rabin probabilistic primality test for bn.

checks parameter is deprecated in version 3.0. It has no effect.

Returns the remaining data held in the cipher object. Further calls to Cipher#update or Cipher#final will return garbage. This call should always be made as the last call of an encryption or decryption operation, after having fed the entire plaintext or ciphertext to the Cipher instance.

If an authenticated cipher was used, a CipherError is raised if the tag could not be authenticated successfully. Only call this method after setting the authentication tag and passing the entire contents of the ciphertext into the cipher.

Return the hash value computed with name Digest. name is either the long name or short name of a supported digest algorithm.

Examples

OpenSSL::Digest.digest("SHA256", "abc")

which is equivalent to:

OpenSSL::Digest.digest('SHA256', "abc")
No documentation available
Search took: 4ms  ·  Total Results: 2725