Results for: "String#[]"

Create the Rake tasks and actions specified by this Gem::PackageTask. (define is automatically called if a block is given to new).

No documentation available

Noop this out so there are no anchors

Performs a Net::HTTP request of type request_class on uri returning a Net::HTTP response object. request maintains a table of persistent connections to reduce connect overhead.

Creates server sockets based on the addresses option. If no addresses were given a server socket for all interfaces is created.

Returns the first source in the list.

Returns true if this source list includes other which may be a Gem::Source or a source URI.

Returns a Gem::StubSpecification for every installed gem

A detailed description of this gem. See also summary

Recursively walk dependencies of this spec, executing the block for each hop.

No documentation available

Finds the path to the Ruby executable

No documentation available

Prints a formatted backtrace to the errors stream if backtraces are enabled.

No documentation available
No documentation available
No documentation available
No documentation available

See IO.unlink when path is a file.

See Dir.unlink when path is a directory.

Tests if the given command exists in file1, or optionally file2.

Example:

sh[?e, "foo"]
sh[:e, "foo"]
sh["e", "foo"]
sh[:exists?, "foo"]
sh["exists?", "foo"]

Executes the given command with the options parameter.

Example:

print sh.system("ls", "-l")
sh.system("ls", "-l") | sh.head > STDOUT

Executes a block as self

Example:

sh.transact { system("ls", "-l") | head > STDOUT }
No documentation available
No documentation available
No documentation available
Search took: 7ms  ·  Total Results: 3008