Results for: "match"

Prefix and suffix the program filename the same as ruby.

Extracts S3 configuration for S3 bucket

Expire memoized instance variables that can incorrectly generate, replace or miss files due changes in certain attributes used to compute them.

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

Creates a self-signed certificate with an issuer and subject from email, a subject alternative name of email and the given extensions for the key.

Deprecation method to deprecate Rubygems commands

Deprecation method to deprecate Rubygems commands

No documentation available

Verifies each certificate in chain has signed the following certificate and is valid for the given time.

Verifies that data matches the signature created by public_key and the digest algorithm.

Updates the TarHeader’s checksum

No documentation available
No documentation available

Enumerates trusted certificates.

Delegates to the wrapped source’s fetch_spec method.

Returns the element at Integer offset index; does not modify self.

a = [:foo, 'bar', 2]
a.at(0) # => :foo
a.at(2) # => 2

Adds to array all elements from each Array in other_arrays; returns self:

a = [0, 1]
a.concat([2, 3], [4, 5]) # => [0, 1, 2, 3, 4, 5]

Iterates over array elements.

When a block given, passes each successive array element to the block; returns self:

a = [:foo, 'bar', 2]
a.each {|element|  puts "#{element.class} #{element}" }

Output:

Symbol foo
String bar
Integer 2

Allows the array to be modified during iteration:

a = [:foo, 'bar', 2]
a.each {|element| puts element; a.clear if element.to_s.start_with?('b') }

Output:

foo
bar

When no block given, returns a new Enumerator:

a = [:foo, 'bar', 2]

e = a.each
e # => #<Enumerator: [:foo, "bar", 2]:each>
a1 = e.each {|element|  puts "#{element.class} #{element}" }

Output:

Symbol foo
String bar
Integer 2

Related: each_index, reverse_each.

Search took: 5ms  ·  Total Results: 1861