Flowdock

686 results found for "array"

_invoke

(WIN32OLE, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Runs the early binding method. The 1st argument specifies dispatch ID, the 2nd argument specifies the array of arguments, the 3rd argument specifies the array of the type of arguments.

ip_address_list

(Socket, >= v1_9_2_180 <= v2_6_3)
Importance_1_sm

Returns local IP addresses as an array. The array contains Addrinfo objects.

drop_while

(Array, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

Drops elements up to, but not including, the first element for which the block returns nil or false and returns an array containing the remaining elements. If no block is given, an Enumerator is returned instead. See also Array#take_while

values_at

(CSV::Table, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

rows indicated. Anything else is considered columnar access. For columnar access, the return set has an Array for each row with the values indicated by the headers in each Array . You can force column or row mode using by_col! () or by_row! (). You cannot mix column and row access.

array_attributes

(Gem::Specification, >= v1_9_3_125 <= v2_6_3)
Importance_1_sm

Return the list of all array-oriented instance variables.

bsearch_index

(Array, >= v2_4_6 <= v2_6_3)
Importance_1_sm

array which meets the given condition in O(log n) where n is the size of the array. It supports two modes, depending on the nature of the block. They are exactly the same as in the case of the #bsearch method, with the only difference being that this method

chunk_while

(Enumerable, >= v2_4_6 <= v2_6_3)
Importance_2_sm

where the block returns false. The block is called the length of the receiver enumerator minus one. The result enumerator yields the chunked elements as an array. So each method can be called as follows: Enumerable#slice_when does the same, except splitting when the block returns true instead of false.

transpose

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Assumes that self is an array of arrays and transposes the rows and columns. If the length of the subarrays don’t match, an IndexError is raised.

CGI::Cookie

Importance_2_sm

Class representing an HTTP cookie. In addition to its specific fields and methods, a Cookie instance is a delegator to the array of its values. See RFC 2965. Examples of use

delete_if

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_4_sm

Deletes every element of self for which block evaluates to true . The array is changed instantly every time the block is called, not after the iteration is over. See also Array#reject! If no block is given, an Enumerator is returned instead.

http_header

(CGI, >= v2_1_10 <= v2_6_3)
Importance_3_sm

Array of literal cookie strings or Cookie objects; or a hash all of whose values are literal cookie strings or Cookie objects. These cookies are in addition to the cookies held in the @output_cookies field. Other headers can also be set; they are appended as key: value. Examples: This

RDoc::Options

Importance_2_sm

options file in your gem. The easiest way to do this is: Option Validators OptionParser validators will validate and cast user input values. In addition to the validators that ship with OptionParser ( String, Integer, Float, TrueClass, FalseClass, Array, Regexp, Date, Time, URI, etc.), RDoc::Options adds Path, PathArray and Template.

mktmpdir

(Dir, >= v1_8_7_72 <= v2_6_3)
Importance_3_sm

specified or nil, “d” is used as the prefix and no suffix is used. If it is a string, it is used as the prefix and no suffix is used. If it is an array, first element is used as the prefix and second element is used as a suffix.

take_while

(Array, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

Passes elements to the block until the block returns nil or false, then stops iterating and returns an array of all prior elements. If no block is given, an Enumerator is returned instead. See also Array#drop_while

rassoc

(Hash, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

Searches through the hash comparing obj with the value using ==. Returns the first key-value pair (two-element array) that matches. See also Array#rassoc.

ole_func_methods

(WIN32OLE, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns the array of WIN32OLE_METHOD object . The element of the array is property (settable) of WIN32OLE object.

ole_get_methods

(WIN32OLE, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns the array of WIN32OLE_METHOD object . The element of the array is property (gettable) of WIN32OLE object.

ole_put_methods

(WIN32OLE, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns the array of WIN32OLE_METHOD object . The element of the array is property (settable) of WIN32OLE object.

safe_load

(Psych, >= v2_1_10 <= v2_6_3)
Importance_2_sm

string in yaml . By default, only the following classes are allowed to be deserialized: TrueClass FalseClass NilClass Numeric String Array Hash Recursive data structures are not allowed by default. Arbitrary classes can be allowed by adding those classes to the whitelist . They are additive. For example, to allow Date deserialization:

all_symbols

(Symbol, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns an array of all the symbols currently in Ruby’s symbol table.

CSV::Row

Importance_1_sm

Array and part Hash . It retains an order for the fields and allows duplicates just as an Array would, but also allows you to access fields by name just as you could if they were in a Hash . All rows returned by CSV will be constructed from this class, if header

select!

(Array, >= v1_9_2_180 <= v2_6_3)
Importance_1_sm

deleting elements for which the block returns a false value. The array may not be changed instantly every time the block is called. If changes were made, it will return self, otherwise it returns nil . See also Array#keep_if If no block is given, an Enumerator is returned instead.

ARGF

Importance_2_sm

designed for use in scripts that process files given as command-line arguments or passed in via STDIN. The arguments passed to your script are stored in the ARGV Array, one argument per element. ARGF assumes that any arguments that aren’t filenames have been removed from ARGV . For example:

REXML::Functions

Importance_1_sm

from which to filter. In the case of context methods (such as position ), the function should return an array with a value for each child in the array. (2) all method calls from XML will have “-” replaced with “_”. Therefore, in XML, “local-name()” is identical (and actually becomes) “ local_name ()”

entitydecl

(REXML::StreamListener, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

<!ENTITY …> The argument passed to this method is an array of the entity declaration. It can be in a number of formats, but in general it returns (example, result):

last

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_3_sm

Returns the last element(s) of self . If the array is empty, the first form returns nil . See also Array#first for the opposite effect.

reverse_each

(Enumerable, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

Builds a temporary array and traverses that array in reverse order. If no block is given, an enumerator is returned instead.

parse

(CSV, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

parse CSV out of a String . You may either provide a block which will be called with each row of the String in turn, or just use the returned Array of Arrays (when no block is given). You pass your str to read from, and an optional options containing anything CSV::new() understands.

capabilities

(Net::SMTP::Response, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

Returns a hash of the human readable reply text in the response if it is multiple lines. It does not return the first line. The key of the hash is the first word the value of the hash is an array with each word thereafter being a value in the array

gem

(Gem::RequestSet::GemDependencyAPI, >= v2_1_10 <= v2_6_3)
Importance_2_sm

Array of files may be given. To disable requiring any file give false: submodules: Set to true to include submodules when fetching the git repository for git:, gist: and github: dependencies. ref: Use the given commit name or SHA for git:, gist: and github: dependencies. branch: Use the given branch