Flowdock

686 results found for "array"

decode_all

(OpenSSL::ASN1, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

Similar to #decode with the difference that #decode expects one distinct value represented in der . #decode_all on the contrary decodes a sequence of sequential BER/DER values lined up in der and returns them as an array. Example

coerce

(Integer, >= v2_4_6 <= v2_6_3)
Importance_1_sm

Returns an array with both a numeric and a big represented as Bignum objects. This is achieved by converting numeric to a Bignum . A TypeError is raised if the numeric is not a Fixnum or Bignum type.

minor

(Matrix, >= v1_8_6_287 <= v2_5_5)
Importance_1_sm

parameters are either: start_row, nrows, start_col, ncols; OR row_range, col_range Like Array#[], negative indices count backward from the end of the row or column (-1 is the last element ). Returns nil if the starting row or column is greater than row_count or column_count respectively.

global_variables

(Kernel, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns an array of the names of global variables.

document_order

(REXML::XPathParser, >= v1_8_6_287 <= v2_5_5)
Importance_1_sm

array of nodes so that they are in document order It tries to do this efficiently. FIXME: I need to get rid of this, but the issue is that most of the XPath interpreter functions as a filter, which means that we lose context going in and out of function

grapheme_clusters

(String, >= v2_5_5 <= v2_6_3)
Importance_1_sm

Returns an array of grapheme clusters in str . This is a shorthand for str. each_grapheme_cluster .to_a. If a block is given, which is a deprecated form, works the same as each_grapheme_cluster .

backtrace_locations

(Exception, >= v2_1_10 <= v2_6_3)
Importance_1_sm

Returns any backtrace associated with the exception . This method is similar to Exception#backtrace, but the backtrace is an array of Thread::Backtrace::Location . Now, this method is not affected by Exception#set_backtrace().

verify

(OpenSSL::OCSP::Request, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

Verifies this request using the given certificates and store . certificates is an array of OpenSSL::X509::Certificate, store is an OpenSSL::X509::Store . Note that false is returned if the request does not have a signature. Use #signed? to check whether the request is signed or not.

accept_loop

(Socket, >= v1_9_2_180 <= v2_6_3)
Importance_1_sm

list of sockets. The individual argument should be a socket or an array of sockets. This method yields the block sequentially. It means that the next connection is not accepted until the block returns. So concurrent mechanism, thread for example, should be used to service multiple clients at a time.

requirement_trees

(Gem::Resolver::Molinillo::Resolver::Resolution, >= v2_4_6 <= v2_6_3)
Importance_1_sm

@return [ Array>] The different requirement

status

(OpenSSL::OCSP::BasicResponse, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

Array of statuses for this response. Each status contains a CertificateId, the status (0 for good, 1 for revoked, 2 for unknown), the reason for the status, the revocation time, the time of this update, the time for the next update and a list of OpenSSL::X509::Extension . This should

peeraddr

(UNIXSocket, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

Returns the remote address as an array which contains address_family and unix_path. Example

shift

(Hash, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Removes a key-value pair from hsh and returns it as the two-item array [ key, value ], or the hash’s default value if the hash is empty.

keys

(Hash, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns a new array populated with the keys from this hash . See also Hash#values.

take_while

(Enumerable, >= 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.

minmax_by

(Enumerable, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

Returns a two element array containing the objects in enum that correspond to the minimum and maximum values respectively from the given block. If no block is given, an enumerator is returned instead.

size

(MatchData, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns the number of elements in the match array.

length

(MatchData, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns the number of elements in the match array.

find_library

(MakeMakefile, >= v2_1_10 <= v2_6_3)
Importance_1_sm

library lib in one of the paths specified, where paths is an array of strings. If func is nil , then the main() function is used as the entry point. If lib is found, then the path it was found on is added to the list of library paths searched and linked against.

codepoints

(String, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

Returns an array of the Integer ordinals of the characters in str . This is a shorthand for str. each_codepoint .to_a. If a block is given, which is a deprecated form, works the same as each_codepoint .

ip_unpack

(Addrinfo, >= v1_9_2_180 <= v2_6_3)
Importance_1_sm

Returns the IP address and port number as 2-element array.

client_ca

(OpenSSL::SSL::SSLSocket, >= v1_9_3_125 <= v2_6_3)
Importance_1_sm

note that in contrast to SSLContext#client_ca= no array of X509::Certificate is returned but X509::Name instances of the CA’s subject distinguished name. In server mode, returns the list set by SSLContext#client_ca=. In client mode, returns the list of client CAs sent from the server.

columns

(Matrix, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Creates a matrix using columns as an array of column vectors.

at

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns the element at index . A negative index counts from the end of self . Returns nil if the index is out of range. See also Array#[].

lines

(String, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

Returns an array of lines in str split using the supplied record separator ($/ by default). This is a shorthand for str. each_line (separator).to_a. If a block is given, which is a deprecated form, works the same as each_line .

delete_if

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

mode or row mode, iteration is the standard row major walking of rows. In column mode, iteration will yield two element tuples containing the column name and an Array of values for that column. This method returns the table for chaining. If no block is given, an Enumerator is returned.

import_function

(Fiddle::Importer, >= v2_1_10 <= v2_6_3)
Importance_1_sm

given name function. Raises a DLError if the name doesn’t exist. argtype is an Array of arguments, passed to the name function. ctype is the return type of the function call_type is the ABI of the function See also Fiddle:Function.new See Fiddle::CompositeHandler .sym and Fiddle::Handler.sym

first

(Range, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns the first object in the range, or an array of the first n elements.

tsort

(Gem::Resolver::Molinillo::DependencyGraph, >= v2_4_6 <= v2_6_3)
Importance_1_sm

Topologically sorts the given vertices. @param [ Enumerable] vertices the vertices to be sorted, which must @return [ Array] The sorted vertices.

commands

(FileUtils, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns an Array of method names which have any options .