Results for: "module_function"

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.

No documentation available
No documentation available

Means the line was marked as “invisible” Confusingly, “empty” lines are visible…they just don’t contain any source code other than a newline (“n”).

No documentation available
No documentation available
No documentation available

Deletes value from database associated with key.

Returns value or nil.

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

Returns true if the process generated a coredump when it terminated, false if not.

Not available on all platforms.

No documentation available
No documentation available
Search took: 9ms  ·  Total Results: 5313