Results for: "module_function"

No documentation available

A null NameTuple, ie name=nil, version=0

Indicate if this NameTuple is for a prerelease version.

No documentation available
No documentation available

A requirement is a prerelease if any of the versions inside of it are prereleases

A version is considered a prerelease if it contains a letter.

The release for this version (e.g. 1.2.0.a -> 1.2.0). Non-prerelease versions return themselves.

Removes all sources from the SourceList.

Deletes source from the source list which may be a Gem::Source or a URI.

Files included in this gem. You cannot append to this accessor, you must assign to it.

Only add files you can require to this list, not directories, etc.

Directories are automatically stripped from this list when building a gem, other non-files cause an error.

Usage:

require 'rake'
spec.files = FileList['lib/**/*.rb',
                      'bin/*',
                      '[A-Z]*'].to_a

# or without Rake...
spec.files = Dir['lib/**/*.rb'] + Dir['bin/*']
spec.files += Dir['[A-Z]*']
spec.files.reject! { |fn| fn.include? "CVS" }

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'

Dump only crucial instance variables.

Singular accessor for executables

Singular accessor for executables

Sets executables to value, ensuring it is an array.

Sets files to files, ensuring it is an array.

spec

the spec of the gem to be uninstalled

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

Deletes value from database associated with key.

Returns value or nil.

Returns true if stat terminated because of an uncaught signal.

Returns true if stat generated a coredump when it terminated. Not available on all platforms.

Releases the lock and sleeps timeout seconds if it is given and non-nil or forever. Raises ThreadError if mutex wasn’t locked by the current thread.

When the thread is next woken up, it will attempt to reacquire the lock.

Note that this method can wakeup without explicit Thread#wakeup call. For example, receiving signal and so on.

Returns the slept time in seconds if woken up, or nil if timed out.

Removes all objects from the queue.

Returns the length of the queue.

Search took: 4ms  ·  Total Results: 3178