Flowdock

686 results found for "array"

Array

Importance_5_sm

Arrays are ordered, integer-indexed collections of any object. Array indexing starts at 0, as in C or Java. A negative index is assumed to be relative to the end of the array—that is, an index of -1 indicates the last element of the array, -2 is the next

new

(CSV, >= v1_9_1_378 <= v2_6_3)
Importance_5_sm

Array of names from the Converters Hash and/or lambdas that handle custom conversion. A single converter doesn’t have to be in an Array . All built-in converters try to transcode fields to UTF-8 before converting. The conversion will fail if the data cannot be transcoded, leaving the field

doc/extension.rdoc

Importance_5_sm

ARRAY array T_HASH associative array T_STRUCT (Ruby) structure T_BIGNUM multi precision integer T_FIXNUM Fixnum (31bit or 63bit integer) T_COMPLEX complex number T_RATIONAL rational number T_FILE IO T_TRUE true T_FALSE false T_DATA data T_SYMBOL symbol In addition, there are several

<=>

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

array is less than, equal to, or greater than other_ary . Each object in each array is compared (using the <=> operator). Arrays are compared in an “element-wise” manner; the first element of ary is compared with the first one of other_ary using the <=> operator

[]=

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

array, the array grows automatically. Elements are inserted into the array at start if length is zero. Negative indices will count backward from the end of the array. For start and range cases the starting index is just before an element. An IndexError is raised if a negative index points

doc/extension.ja.rdoc

Importance_5_sm

ARRAY 配列 T_HASH 連想配列 T_STRUCT (Rubyの)構造体 T_BIGNUM 多倍長整数 T_FIXNUM Fixnum (31bitまたは63bit長整数) T_COMPLEX 複素数 T_RATIONAL 有理数 T_FILE 入出力 T_TRUE 真 T_FALSE

NEWS

Importance_5_sm

Array New methods: Array#append [Feature #12746] Array#prepend [Feature #12746] Data Is deprecated. It was a base class for C extensions, and it’s not necessary to expose in Ruby level. [Feature #3072] Exception New methods: Exception#full_message to retrieve a String expression of an exception, formatted in the same

new

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

array. In the first form, if no arguments are sent, the new array will be empty. When a size and an optional default are sent, an array is created with size copies of default . Take notice that all elements will reference the same object default . The second form creates a copy

select

(Kernel, >= v1_8_6_287 <= v2_6_3)
Importance_4_sm

arrays of IO objects, waits until one or more of IO objects are ready for reading, are ready for writing, and have pending exceptions respectively, and returns an array that contains arrays of those IO objects. It will return nil if optional timeout value is given and no IO object

select

(IO, >= v1_8_6_287 <= v2_6_3)
Importance_4_sm

arrays of IO objects, waits until one or more of IO objects are ready for reading, are ready for writing, and have pending exceptions respectively, and returns an array that contains arrays of those IO objects. It will return nil if optional timeout value is given and no IO object

Scanf

Importance_4_sm

array of matches between the format and the input. The format is defined in a string, and is similar (though not identical) to the formats used in Kernel#printf and Kernel#sprintf. The format may contain conversion specifiers, which tell scanf what form (type) each particular matched substring should be converted

lib/scanf.rb

Importance_4_sm

array of matches between the format and the input. The format is defined in a string, and is similar (though not identical) to the formats used in Kernel#printf and Kernel#sprintf. The format may contain conversion specifiers, which tell scanf what form (type) each particular matched substring should be converted

Net::IMAP

Importance_0_sm

array of Net::IMAP::Address that represents the from. sender Returns an array of Net::IMAP::Address that represents the sender. reply_to Returns an array of Net::IMAP::Address that represents the reply-to. to Returns an array of Net::IMAP::Address that represents the to. cc Returns an array

array

(WIN32OLE_VARIANT, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

type is VT_ARRAY. The first argument should be Array object which specifies dimensions and each size of dimensions of OLE array . The second argument specifies variant type of the element of OLE array . The following create 2 dimensions OLE array . The first dimensions size is 3, and the second is 4.

popup_menu

(CGI::HtmlExtension, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

Array . If a String or a one-element Array, this is both the value of that option and the text displayed for it. If a three-element Array, the elements are the option value, displayed text, and a boolean value specifying whether this option starts as selected. The two-element

Hash

Importance_5_sm

arrays, they are similar to Arrays, but where an Array uses integers as its index, a Hash allows you to use any object type. Hashes enumerate their values in the order that the corresponding keys were inserted. A Hash can be easily created by using its implicit form: See also

split

(String, >= v1_8_6_287 <= v2_6_3)
Importance_4_sm

array of these substrings. If pattern is a String, then its contents are used as the delimiter when splitting str . If pattern is a single space, str is split on whitespace, with leading whitespace and runs of contiguous whitespace characters ignored. If pattern is a Regexp, str is divided where

+

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

Concatenation — Returns a new array built by concatenating the two arrays together to produce a third array. This means that it produces a new array. As a consequence, repeated use of += on arrays can be quite inefficient. See also Array#concat.

zip

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_3_sm

arrays, then merges elements of self with corresponding elements from each argument. This generates a sequence of ary. size n-element arrays, where n is one more than the count of arguments. If the size of any argument is less than the size of the initial array, nil values are supplied

Array

(Kernel, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns arg as an Array . First tries to call to_ary on arg, then to_a. If arg does not respond to to_ary or to_a, returns an Array of length 1 containing arg . If to_ary or to_a returns something other than an Array, raises a TypeError .

assoc

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Searches through an array whose elements are also arrays comparing obj with the first element of each contained array using obj.==. Returns the first contained array that matches (that is, the first associated array), or nil if no match is found. See also Array#rassoc

pack

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_4_sm

array elements to convert. If the count is an asterisk (“*”), all remaining array elements will be converted. Any of the directives “sSiIlL” may be followed by an underscore (“_”) or exclamation mark (“!”) to use the underlying platform’s native size for the specified type; otherwise, they use a platform-independent size

strongly_connected_components

(TSort, >= v2_1_10 <= v2_6_3)
Importance_2_sm

array of arrays of nodes. The array is sorted from children to parents. Each elements of the array represents a strongly connected component. The graph is represented by each_node and each_child . each_node should have call method which yields for each node in the graph. each_child should

TSort

Importance_3_sm

array of the node’s child nodes. This choice in turn leads to our implementation of the required #tsort_each_child method, which fetches the array of child nodes and then iterates over that array using the user-supplied block. Bugs ‘ tsort .rb’ is wrong name because this library uses

strongly_connected_components

(TSort, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

Returns strongly connected components as an array of arrays of nodes. The array is sorted from children to parents. Each elements of the array represents a strongly connected component.

to_a

(RubyVM::InstructionSequence, >= v1_9_1_378 <= v2_6_3)
Importance_2_sm

array containing the names of all arguments and local variables as symbols. params An Hash object containing parameter information. More info about these values can be found in vm_core.h . catch_table A list of exceptions and control flow operators (rescue, next, redo, break, etc.). bytecode An array of arrays

doc/marshal.rdoc

Importance_5_sm

arrays, hashes, instance variables and other types. In the following sections “long” will mean the format described below, which supports full 32 bit precision. The first byte has the following special values: “x00” The value of the integer is 0. No bytes follow. “x01” The total size of the integer

product

(Array, >= v1_8_7_72 <= v2_6_3)
Importance_2_sm

Returns an array of all combinations of elements from all arrays. The length of the returned array is the product of the length of self and the argument arrays. If given a block, #product will yield all combinations and return self instead.

doc/globals.rdoc

Importance_3_sm

Array of backtrace of the last exception thrown. $& The string matched by the last successful match. $` The string to the left of the last successful match. $‘ The string to the right of the last successful match. $+ The highest group matched by the last successful match. $1 The Nth group

unpack

(String, >= v1_8_6_287 <= v2_6_3)
Importance_4_sm

array of each value extracted. The format string consists of a sequence of single-character directives, summarized in the table at the end of this entry. Each directive may be followed by a number, indicating the number of times to repeat with this directive. An asterisk (“*”) will use up all remaining