Results for: "fnmatch"

Split the Gem search path (as reported by Gem.path).

Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.

No documentation available
No documentation available

Find and fetch gem name tuples that match dependency.

If matching_platform is false, gems for all platforms are returned.

Return the best specification that contains the file matching path.

Specification attributes that must be non-nil

Make sure the YAML specification is properly formatted with dashes

Finds all gems that satisfy dep

TODO: move to minitest

TODO: move to minitest

No documentation available

Creates several default gems which all have a lib/code.rb file. The gems are not installed but are available in the cache dir.

+@a1+

gem a version 1, this is the best-described gem.

+@a2+

gem a version 2

+@a3a

gem a version 3.a

+@a_evil9+

gem a_evil version 9, use this to ensure similarly-named gems don’t collide with a.

+@b2+

gem b version 2

+@c1_2+

gem c version 1.2

+@pl1+

gem pl version 1, this gem has a legacy platform of i386-linux.

Additional prerelease gems may also be created:

+@a2_pre+

gem a version 2.a

TODO: nuke this and fix tests. this should speed up a lot

Set the platform to arch

No documentation available

Choose from a list of options. question is a prompt displayed above the list. list is a list of option strings. Returns the pair [option_name, option_index].

private functions

Defines a command, registering path as a Shell method for the given command.

Shell::CommandProcessor.def_system_command "ls"
  #=> Defines ls.

Shell::CommandProcessor.def_system_command "sys_sort", "sort"
  #=> Defines sys_sort as sort

Undefines a command

No documentation available
No documentation available

private method to assemble query from attributes, scope, filter and extensions.

Returns the destination encoding name as a string.

Returns the destination encoding name as a string.

Parses a C struct’s members

Example:

include Fiddle::CParser
  #=> Object

parse_struct_signature(['int i', 'char c'])
  #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]]

parse_struct_signature(['char buffer[80]'])
  #=> [[[Fiddle::TYPE_CHAR, 80]], ["buffer"]]
Search took: 4ms  ·  Total Results: 2041