Results for: "tally"

No documentation available

Executables included in the gem.

For example, the rake gem has rake as an executable. You don’t specify the full path (as in bin/rake); all application-style files are expected to be found in bindir. These files must be executable Ruby files. Files that use bash or other interpreters will not work.

Executables included may only be ruby scripts, not scripts for other languages or compiled binaries.

Usage:

spec.executables << 'rake'

Singular accessor for executables

Singular accessor for executables

Sets executables to value, ensuring it is an array.

Normalize the list of files so that:

Checks that the specification contains all required fields, and does a very basic sanity check.

Raises InvalidSpecificationException if the spec does not pass the checks..

Does a sanity check on the specification.

Raises InvalidSpecificationException if the spec does not pass the checks.

It also performs some validations that do not raise but print warning messages instead.

Normalize the URI by adding “http://” if it is missing.

Display an informational alert. Will ask question if it is not nil.

Checks the gem directory for the following potential inconsistencies/problems:

returns a hash of ErrorData objects, keyed on the problem gem’s name.

No documentation available
No documentation available

Returns true if URI is hierarchical.

Description

URI has components listed in order of decreasing significance from left to right, see RFC3986 www.rfc-editor.org/rfc/rfc3986 1.2.3.

Usage

require 'uri'

uri = URI.parse("http://my.example.com/")
uri.hierarchical?
#=> true
uri = URI.parse("mailto:joe@example.com")
uri.hierarchical?
#=> false

Returns normalized URI.

require 'uri'

URI("HTTP://my.EXAMPLE.com").normalize
#=> #<URI::HTTP http://my.example.com/>

Normalization here means:

Destructive version of normalize.

Checks if URI has a path. For URI::LDAP this will return false.

Returns an array of values from the database.

Returns true if the process terminated because of an uncaught signal, false otherwise.

Returns the least significant eight bits of the return code of the process if it has exited; nil otherwise:

`exit 99`
$?.exitstatus # => 99
No documentation available

Wakes up the first thread in line waiting for this lock.

Returns a new Array containing all values in the map.

Reads at most maxlen bytes from the stream. If buf is provided it must reference a string which will receive the data.

See IO#readpartial for full details.

Return true if the PRNG has been seeded with enough data, false otherwise.

Search took: 1ms  ·  Total Results: 1250