Results for: "remove_const"

Performs a depth-first (document order) XPath search, and returns the first match. This is the fastest, lightest way to return a single result.

FIXME: This method is incomplete!

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

Whether this specification is stubbed - i.e. we have information about the gem from a stub line, without having to evaluate the entire gemspec file.

True if long begins with the characters from short.

Override to display a longer description of what this command does.

No documentation available

true if this gem has no requirements.

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.

The license for this gem.

The license must be no more than 64 characters.

This should just be the name of your license. The full text of the license should be inside of the gem (at the top level) when you build it.

The simplest way, is to specify the standard SPDX ID spdx.org/licenses/ for the license. Ideally you should pick one that is OSI (Open Source Initiative) opensource.org/licenses/alphabetical approved.

The most commonly used OSI approved licenses are MIT and Apache-2.0. GitHub also provides a license picker at choosealicense.com/.

You should specify a license for your gem so that people know how they are permitted to use it, and any restrictions you’re placing on it. Not specifying a license means all rights are reserved; others have no rights to use the code for any purpose.

You can set multiple licenses with licenses=

Usage:

spec.license = 'MIT'

The license(s) for the library.

Each license must be a short name, no more than 64 characters.

This should just be the name of your license. The full text of the license should be inside of the gem when you build it.

See license= for more discussion

Usage:

spec.licenses = ['MIT', 'GPL-2.0']

Returns a Gem::StubSpecification for every installed gem

A detailed description of this gem. See also summary

Singular accessor for licenses

Plural accessor for setting licenses

See license= for details

No documentation available

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 a block as self

Example:

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