Executes a SpecFetcher setup block. Yields an instance then creates the gems and specifications defined in the instance.
Interrupts the timeout handler id
and raises exception
bn.clear_bit!(bit) -> self
Generate, set, and return a random key. You must call cipher.encrypt or cipher.decrypt before calling this method.
Generate, set, and return a random iv. You must call cipher.encrypt or cipher.decrypt before calling this method.
Parses the configuration data read from io
, see also parse.
Raises a ConfigError
on invalid configuration data.
Emit a scalar with value
and tag
Called with encoding
when the YAML stream starts. This method is called once per stream. A stream may contain multiple documents.
See the constants in Psych::Parser
for the possible values of encoding
.
Called when the document starts with the declared version
, tag_directives
, if the document is implicit
.
version
will be an array of integers indicating the YAML version being dealt with, tag_directives
is a list of tuples indicating the prefix and suffix of each tag, and implicit
is a boolean indicating whether the document is started implicitly.
Given the following YAML:
%YAML 1.1 %TAG ! tag:tenderlovemaking.com,2009: --- !squee
The parameters for start_document
must be this:
version # => [1, 1] tag_directives # => [["!", "tag:tenderlovemaking.com,2009:"]] implicit # => false