686 results found for "array"
Gem::SourceList
The SourceList represents the sources rubygems has been configured to use. A source may be created from an array of sources: The most common way to get a SourceList is Gem.sources.
spawn
(PTY, >= v1_9_1_378 <= v2_6_3)array of size three, [r, w, pid] . In the block form these same values will be yielded to the block: r A readable IO that contains the command’s standard output and standard error w A writable IO that is the command’s standard input pid The process identifier for the command
getpty
(PTY, >= v1_9_1_378 <= v2_6_3)array of size three, [r, w, pid] . In the block form these same values will be yielded to the block: r A readable IO that contains the command’s standard output and standard error w A writable IO that is the command’s standard input pid The process identifier for the command
default_system_path
(Shell, >= v1_8_6_287 <= v2_6_3)Returns the directories in the current shell’s PATH environment variable as an array of directory names. This sets the system_path for all instances of Shell . Example: If in your current shell, you did:
flatten!
(Array, >= v1_8_6_287 <= v2_6_3)Flattens self in place. Returns nil if no modifications were made (i.e., the array contains no subarrays.) The optional level argument determines the level of recursion to flatten .
ole_methods
(WIN32OLE_TYPE, >= v1_8_6_287 <= v2_6_3)Returns array of WIN32OLE_METHOD objects which represent OLE method defined in OLE type library.
each_cons
(Enumerable, >= v1_8_6_287 <= v2_6_3)Iterates the given block for each array of consecutive <n> elements. If no block is given, returns an enumerator. e.g.:
each_entry
(Enumerable, >= v1_9_2_180 <= v2_6_3)Calls block once for each element in self, passing that element as a parameter, converting multiple values from yield to an array. If no block is given, an enumerator is returned instead.
keys
(Thread, >= v1_8_6_287 <= v2_6_3)Returns an array of the names of the fiber-local variables (as Symbols).
alias
(Psych::Handler, >= v1_9_3_125 <= v2_6_3)Called when an alias is found to anchor . anchor will be the name of the anchor found. Example Here we have an example of an array that references itself in YAML: &ponies is the achor, *ponies is the alias . In this case, alias is called with “ponies”.
default_event_sources
(WIN32OLE_TYPE, >= v1_9_1_378 <= v2_6_3)Returns the array of WIN32OLE_TYPE object which is implemented by the WIN32OLE_TYPE object and having IMPLTYPEFLAG_FSOURCE and IMPLTYPEFLAG_FDEFAULT.
last
(Range, >= v1_8_6_287 <= v2_6_3)Returns the last object in the range, or an array of the last n elements. Note that with no arguments last will return the object that defines the end of the range even if #exclude_end? is true .
reject
(Enumerable, >= v1_8_6_287 <= v2_6_3)Returns an array for all elements of enum for which the given block returns false. If no block is given, an Enumerator is returned instead. See also Enumerable#find_all.
delete_all
(REXML::Elements, >= v1_8_6_287 <= v2_6_3)Removes multiple elements. Filters for Element children, regardless of XPath matching. xpath all elements matching this String path are removed. Returns an Array of Elements that have been removed
cycle
(Enumerable, >= v1_8_7_72 <= v2_6_3)positive number is given or the collection is empty, does nothing. Returns nil if the loop has finished without getting interrupted. Enumerable#cycle saves elements in an internal array so changes to enum after the first pass have no effect. If no block is given, an enumerator is returned instead.
to_a
(SDBM, >= v1_9_3_125 <= v2_6_3)Returns a new Array containing each key-value pair in the database. Example:
grep_v
(Enumerable, >= v2_4_6 <= v2_6_3)Inverted version of Enumerable#grep. Returns an array of every element in enum for which not Pattern === element.
offset
(MatchData, >= v1_8_6_287 <= v2_6_3)Returns a two-element array containing the beginning and ending offsets of the nth match. n can be a string or symbol to reference a named capture.
to_a
(Set, >= v1_8_6_287 <= v2_6_3)Converts the set to an array. The order of elements is uncertain.
Gem::Resolver::Molinillo
name the name of the current requirement @attr [ Array] requirements currently unsatisfied requirements @attr [DependencyGraph] activated the graph of activated dependencies @attr [ Object] requirement the current requirement @attr [ Object] possibilities the possibilities to satisfy the current requirement @attr [ Integer] depth the depth of the resolution @attr [ Set] conflicts unresolved conflicts
delete_at
(Array, >= v1_8_6_287 <= v2_6_3)Deletes the element at the specified index, returning that element, or nil if the index is out of range. See also Array#slice!
each
(Array, >= v1_8_6_287 <= v2_6_3)Calls the given block once for each element in self, passing that element as a parameter. Returns the array itself. If no block is given, an Enumerator is returned.
reverse_each
(Array, >= v1_8_6_287 <= v2_6_3)Same as Array#each, but traverses self in reverse order.
search_for
(Gem::Resolver::Molinillo::SpecificationProvider, >= v2_4_6 <= v2_6_3)Search for the specifications that match the given dependency. The specifications in the returned array will be considered in reverse order, so the latest version ought to be last. @note This method should be ‘pure’, i.e. the return value should depend
tokenize
(Ripper, >= v1_9_1_378 <= v2_6_3)Tokenizes the Ruby program and returns an array of strings.
each_index
(Array, >= v1_8_6_287 <= v2_6_3)Same as Array#each, but passes the index of the element instead of the element itself. An Enumerator is returned if no block is given.
group_by
(Enumerable, >= v1_8_7_72 <= v2_6_3)Groups the collection by result of the block. Returns a hash where the keys are the evaluated result from the block and the values are arrays of elements in the collection that correspond to the key. If no block is given an enumerator is returned.
constants
(Module, >= v1_8_6_287 <= v2_6_3)array of the names of the constants accessible in mod . This includes the names of constants in any included modules (example at start of section), unless the inherit parameter is set to false. The implementation makes no guarantees about the order in which the constants are yielded. Also see Module
create
(OpenSSL::PKCS12, >= v1_9_1_378 <= v2_6_3)filled in. ca - An optional array of X509::Certificate’s. key_pbe - string cert_pbe - string key_iter - integer mac_iter - integer keytype - An integer representing an MSIE specific extension. Any optional arguments may be supplied as nil to preserve the OpenSSL defaults. See the OpenSSL documentation for PKCS12_create().
instance_variables
(Object, >= v1_8_6_287 <= v2_6_3)Returns an array of instance variable names for the receiver. Note that simply defining an accessor does not create the corresponding instance variable.