Results for: "Array.new"

No documentation available

Creates a new signer with an RSA key or path to a key, and a certificate chain containing X509 certificates, encoding certificates or paths to certificates.

Creates a new TrustDir using dir where the directory and file permissions will be checked according to permissions

Creates a new git gem source for a gems from loaded from repository at the given reference. The name is only used to track the repository back to a gem dependencies file, it has no real significance as a git repository may contain multiple gems. If submodules is true, submodules will be checked out when the gem is installed.

Creates a new Lock source that wraps source and moves it earlier in the sort list.

Creates a new SpecificFile for the gem in file

Creates a new Vendor source for a gem that was unpacked at path.

Creates a silent progress reporter that ignores all input arguments.

Creates a new progress reporter that will write to out_stream for size items. Shows the given initial_message when progress starts and the terminal_message when it is complete.

Creates a new progress reporter that will write to out_stream for size items. Shows the given initial_message when progress starts and the terminal_message when it is complete.

The silent download reporter ignores all arguments

Creates a new threaded download reporter that will display on out_stream. The other arguments are ignored.

No documentation available
No documentation available

value: is mandatory.

tag: optional, may be specified for tagged values. If no tag is specified, the UNIVERSAL tag corresponding to the Primitive sub-class is used by default.

tagging: may be used as an encoding hint to encode a value either explicitly or implicitly, see ASN1 for possible values.

tag_class: if tag and tagging are nil then this is set to :UNIVERSAL by default. If either tag or tagging are set then :CONTEXT_SPECIFIC is used as the default. For possible values please cf. ASN1.

Example

int = OpenSSL::ASN1::Integer.new(42)
zero_tagged_int = OpenSSL::ASN1::Integer.new(42, 0, :IMPLICIT)
private_explicit_zero_tagged_int = OpenSSL::ASN1::Integer.new(42, 0, :EXPLICIT, :PRIVATE)

Create a new streaming emitter. Emitter will print to io. See Psych::Stream for an example.

No documentation available

Ignored newlines can occasionally have a LABEL state attached to them, so we compare the state differently here.

No documentation available
No documentation available

Enumerator::ArithmeticSequence is a subclass of Enumerator, that is a representation of sequences of numbers with common difference. Instances of this class can be generated by the Range#step and Numeric#step methods.

The class can be used for slicing Array (see Array#slice) or custom collections.

Raised by Encoding and String methods when the source encoding is incompatible with the target encoding.

Exception for invalid date/time

Generic error class for Fiddle

standard dynamic load exception

Search took: 4ms  ·  Total Results: 3535