Results for: "Dir.chdir"

The iterator version of the TSort.tsort method.

The graph is represented by each_node and each_child. each_node should have call method which yields for each node in the graph. each_child should have call method which takes a node argument and yields for each child node.

g = {1=>[2, 3], 2=>[4], 3=>[2, 4], 4=>[]}
each_node = lambda {|&b| g.each_key(&b) }
each_child = lambda {|n, &b| g[n].each(&b) }
TSort.tsort_each(each_node, each_child) {|n| p n }
#=> 4
#   2
#   3
#   1
No documentation available
No documentation available
No documentation available

Returns AST nodes under this one. Each kind of node has different children, depending on what kind of node it is.

The returned array may contain other nodes or nil.

Returns the verified chain.

See also the man page X509_STORE_CTX_set0_verified_chain(3).

Calls the given block once for each element in self, passing that element as parameter asn1. If no block is given, an enumerator is returned instead.

Example

asn1_ary.each do |asn1|
  puts asn1
end

Returns the challenge string associated with this SPKI.

Parameters

Sets the challenge to be associated with the SPKI. May be used by the server, e.g. to prevent replay.

Iterate over each node in the tree. Yields each node to block depth first.

No documentation available
No documentation available

Attach the comments to their respective locations in the tree by mutating the parse result.

No documentation available

Verifies if the arguments match with this key event. Nil arguments are ignored, but at least one must be passed as non-nil. To verify that no control keys were pressed, pass an empty array: ‘control_keys: []`.

Enumerate the +SvcParam+s in this list.

Iterates over files in the tarball yielding each entry

A hint run by the resolver to allow the Set to fetch data for DependencyRequests reqs.

Prefetches reqs in all sets.

Does this dependency request match spec?

NOTE: match? only matches prerelease versions when dependency is a prerelease dependency.

Prefetches specifications from the git repositories in this set.

No documentation available

The prefetch method may be overridden, but this is not necessary. This default implementation does nothing, which is suitable for sets where looking up a specification is cheap (such as installed gems).

When overridden, the prefetch method should look up specifications matching reqs.

The silent download reporter does not display filename or care about filesize because it is silent.

Tells the download reporter that the file_name is being fetched. The other arguments are ignored.

Search took: 4ms  ·  Total Results: 1391