method

executables

Importance_1
executables() public

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.

Usage:

spec.executables << 'rake'
Show source
Register or log in to add new notes.