Results for: "Array.new"

No documentation available

Raises an exception if any arguments given.

Raises an exception if argument is not present.

Parses argument if given, or uses default value.

Returns nil if argument is not present or begins with ‘-’ and is not ‘-’.

Configure the lines field for this repository and return self.

Parses a source buffer and returns the AST.

If there was a error generated during the parse, then raise an appropriate syntax error. Otherwise return the result.

Parses the given Ruby program read from src. src must be a String or an IO or a object with a gets method.

True if the parser encountered an error during parsing.

Parse the source and return the result.

This method is called when weak warning is produced by the parser. fmt and args is printf style.

This method is called when strong warning is produced by the parser. fmt and args is printf style.

Parse the given source and translate it into the seattlerb/ruby_parser gem’s Sexp format.

Parse the given source and translate it into the seattlerb/ruby_parser gem’s Sexp format.

Translate the given parse result and filepath into the seattlerb/ruby_parser gem’s Sexp format.

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

Wraps io and updates digest for each of the digest algorithms in the digests Hash. Returns the digests hash. Example:

io = StringIO.new
digests = {
  'SHA1'   => OpenSSL::Digest.new('SHA1'),
  'SHA512' => OpenSSL::Digest.new('SHA512'),
}

Gem::Package::DigestIO.wrap io, digests do |digest_io|
  digest_io.write "hello"
end

digests['SHA1'].hexdigest   #=> "aaf4c61d[...]"
digests['SHA512'].hexdigest #=> "9b71d224[...]"

NOTE: Do not call rewind during each

Return the ActivationRequest that contained the dependency that we were activated for.

Search took: 3ms  ·  Total Results: 3535