Results for: "String#[]"

Raises an exception if a security policy that verifies data is active. Old format gems cannot be verified as signed.

NOTE: Do not call rewind during each

Writes the lock file alongside the gem dependencies file

No documentation available
No documentation available

A string explanation of the conflict.

Return the Specification that listed the dependency

Make sure the trust directory exists. If it does exist, make sure it’s actually a directory. If not, then create it with the appropriate permissions.

Returns the line number of this frame.

For example, using caller_locations.rb from Thread::Backtrace::Location

loc = c(0..1).first
loc.lineno #=> 2

Returns the same as calling inspect on the string representation of to_str

No documentation available
No documentation available

@param [Conflict] conflict @return [Array] minimal array of requirements that would cause the passed

conflict to occur.

@param [String] name @return [Object] the requirement that led to a version of a possibility

with the given name being activated.
No documentation available

(see Gem::Resolver::Molinillo::SpecificationProvider#allow_missing?)

@return [Boolean] where the requirement of the state we’re unwinding

to directly caused the conflict. Note: in this case, it is
impossible for the state we're unwinding to to be a parent of
any of the other conflicting requirements (or we would have
circularity)
No documentation available

Invoked by IO#write to write length bytes to io from from a specified buffer (see IO::Buffer).

The length argument is the “(minimum) length to be written”. If the IO buffer size is 8KiB, but the length specified is 1024 (1KiB), at most 8KiB will be written, but at least 1KiB will be. Generally, the only case where less data than length will be written is if there is an error writing the data.

Specifying a length of 0 is valid and means try writing at least once, as much data as possible.

Suggested implementation should try to write to io in a non-blocking manner and call io_wait if the io is not ready (which will yield control to other fibers).

See IO::Buffer for an interface available to get data from buffer efficiently.

Expected to return number of bytes written, or, in case of an error, -errno (negated number corresponding to system’s error code).

The method should be considered experimental.

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

If a block is given, returns a lazy enumerator that will iterate over the given block for each element with an index, which starts from offset, and returns a lazy enumerator that yields the same values (without the index).

If a block is not given, returns a new lazy enumerator that includes the index, starting from offset.

offset

the starting index to use

See Enumerator#with_index.

Return the block length of the digest in bytes.

Return the block length of the digest in bytes.

Digest::SHA256.new.block_length * 8
# => 512
Digest::SHA384.new.block_length * 8
# => 1024
Digest::SHA512.new.block_length * 8
# => 1024

Returns the Fiddle::Pointer of this handle.

No documentation available
Search took: 5ms  ·  Total Results: 2723