Sets up the base @gem, builds it and returns an installer for it.
Installs from the gem dependencies files in the :gemdeps option in options, yielding to the block as in install.
If :without_groups is given in the options, those groups in the gem dependencies file are not used. See Gem::Installer for other options.
Builds and installs the Gem::Specification spec into the user dir
Installs the provided default specs including writing the spec file
Install the provided default specs
Returns the source encoding name as a string.
Returns the source encoding name as a string.
Parses a C struct’s members
Example:
require 'fiddle/import' 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"]]
@return the next sibling (nil if unset)
@return the previous sibling (nil if unset)
Find (and return) first subnode (recursively) for which the block evaluates to true. Returns nil if none was found.
Returns the position that self holds in its parent’s array, indexed from 1.