Results for: "Array"

Extracts the Gem::Specification and raw metadata from the .gem file at path.

Extracts the files in this package into destination_dir

If pattern is specified, only entries matching that glob will be extracted.

Resolve the requested dependencies against the gems available via Gem.path and return an Array of Specification objects to be activated.

Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.

Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.

No documentation available
No documentation available

returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining

dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained

No documentation available
No documentation available

Returns the build_args used to install the gem

Regenerates plugin wrappers after removal.

Display a warning on stderr. Will ask question if it is not nil.

Display an error message in a location expected to get error messages. Will ask question if it is not nil.

Terminate the application with exit code status, running any exit handlers that might have been defined.

No documentation available
No documentation available

Used to hide lines

The search alorithm will group lines into blocks then if those blocks are determined to represent valid code they will be hidden

No documentation available
No documentation available
No documentation available

Returns an Array of the components defined from the COMPONENT Array.

Private method to cleanup dn from using the path component attribute.

Private method to cleanup attributes, scope, filter, and extensions from using the query component attribute.

Returns the discarded bytes when Encoding::InvalidByteSequenceError occurs.

ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
  ec.convert("abc\xA1\xFFdef")
rescue Encoding::InvalidByteSequenceError
  p $!      #=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "\xFF" on EUC-JP>
  puts $!.error_bytes.dump          #=> "\xA1"
  puts $!.readagain_bytes.dump      #=> "\xFF"
end
Search took: 3ms  ·  Total Results: 1476