Flowdock

686 results found for "array"

bytes

(String, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

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

polar

(Complex, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns an array; [cmp.abs, cmp.arg].

unshift

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

Prepends objects to the front of self, moving other elements upwards. See also Array#shift for the opposite effect.

new

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

Initializes a new resolution. @param [SpecificationProvider] specification_provider @param [UI] resolver_ui see {#resolver_ui} @param [ Array] requested see {#original_requested} @param [ DependencyGraph] base see {#base}

partition

(Enumerable, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns two arrays, the first containing the elements of enum for which the block evaluates to true, the second containing the rest. If no block is given, an enumerator is returned instead.

frexp

(Math, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns a two-element array containing the normalized fraction (a Float ) and exponent (an Integer ) of x .

reverse

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns a new array containing self's elements in reverse order.

REXML::Parsers::PullEvent

Importance_1_sm

parsing event. The contents of the event are accessed as an + Array?, and the type is given either by the …? methods, or by accessing the type accessor. The contents of this object vary from event to event, but are identical to the arguments passed to +StreamListener+s for each event.

collect_method

(FileUtils, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns an Array of method names which have the option opt .

precs

(BigDecimal, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

Returns an Array of two Integer values. The first value is the current number of significant digits in the BigDecimal . The second value is the maximum number of significant digits for the BigDecimal .

raw

(REXML::Element, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Evaluates to true if raw mode is set for this element. This is the case if the context has : raw set to : all or an array containing the name of this element. The evaluation is tested against expanded_name, and so is namespace sensitive.

split

(File, >= v1_8_6_287 <= v2_6_3)
Importance_2_sm

Splits the given string into a directory and a file component and returns them in a two-element array. See also File::dirname and File::basename.

*

(Array, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Repetition — With a String argument, equivalent to ary. join (str). Otherwise, returns a new array built by concatenating the int copies of self .

chars

(String, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

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

delete_all

(REXML::Attributes, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Deletes all attributes matching a name. Namespaces are significant. name A String ; all attributes that match this path will be removed Returns an Array of the Attributes that were removed

new

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

Constructs a requirement from requirements . Requirements can be Strings, Gem::Versions, or Arrays of those. nil and duplicate requirements are ignored. An empty set of requirements is the same as ">= 0" .

options_of

(FileUtils, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Returns an Array of option names of the method mid .

OpenSSL::SSL::SSLContext

Importance_0_sm

A callback invoked when a client certificate is requested by a server and no certificate has been set. The callback is invoked with a Session and must return an Array containing an OpenSSL::X509::Certificate and an OpenSSL::PKey . If any other value is returned the handshake is suspended.

<<

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

Array is provided, it is assumed to be a header and field and the pair is appended. A Hash works the same way with the key being the header and the value being the field . Anything else is assumed to be a lone field which is appended with a nil header

fcntl

(IO, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

platform dependent. If arg is a number, its value is passed directly. If it is a string, it is interpreted as a binary sequence of bytes ( Array#pack might be a useful way to build this string). On Unix platforms, see fcntl (2) for details. Not implemented on all platforms.

installed_docs

(RDoc::Servlet, >= v2_1_10 <= v2_6_3)
Importance_1_sm

Returns an Array of installed documentation. Each entry contains the documentation name (gem name, ‘ Ruby Documentation’, etc.), the path relative to the mount point, whether the documentation exists, the type of documentation (See RDoc::RI::Paths#each) and the filesystem to the RDoc::Store for the documentation.

values

(Hash, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

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

to_a

(ARGF, >= v1_9_2_180 <= v2_6_3)
Importance_1_sm

Reads ARGF's current file in its entirety, returning an Array of its lines, one line per element. Lines are assumed to be separated by sep .

drop

(Enumerable, >= v1_8_7_72 <= v2_6_3)
Importance_1_sm

Drops first n elements from enum, and returns rest elements in an array.

Net::IMAP

Importance_0_sm

Net::IMAP::ThreadMember represents a thread-node returned by Net::IMAP#thread. Fields: seqno The sequence number of this message. children An array of Net::IMAP::ThreadMember objects for mail items that are children of this in the thread .

each

(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.

groups

(Process, >= v1_8_6_287 <= v2_6_3)
Importance_1_sm

Get an Array of the gids of groups in the supplemental group access list for this process.

addr

(UNIXSocket, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

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

keep_if

(Array, >= v1_9_2_180 <= v2_6_3)
Importance_1_sm

Deletes every element of self for which the given block evaluates to false . See also Array#select! If no block is given, an Enumerator is returned instead.

<<

(CSV, >= v1_9_1_378 <= v2_6_3)
Importance_1_sm

The primary write method for wrapped Strings and IOs, row (an Array or CSV::Row ) is converted to CSV and appended to the data source. When a CSV::Row is passed, only the row’s fields() are appended to the output. The data source must be open for writing.