| Class | R10K::Module::Base |
| In: |
lib/r10k/module/base.rb
|
| Parent: | Object |
This class defines a common interface for module implementations.
| dirname | -> | basedir |
| @deprecated | ||
| owner | -> | author |
| There‘s been some churn over `author` vs `owner` and `full_name` over `title`, so in the short run it‘s easier to support both and deprecate one later. | ||
| title | -> | full_name |
| dirname | [R] |
@param [r] dirname
@return [String] The name of the directory containing this module |
| name | [R] |
@!attribute [r] name
@return [String] The name of the module |
| owner | [R] |
@!attribute [r] owner
@return [String, nil] The owner of the module if one is specified |
| path | [R] |
@!attribute [r] path
@return [Pathname] The full path of the module |
| title | [R] |
@!attribute [r] title
@return [String] The forward slash separated owner and name of the module |
Return the status of the currently installed module.
This can return the following values:
* :absent - there is no module installed * :mismatched - there is a module installed but it must be removed and reinstalled * :outdated - the correct module is installed but it needs to be updated * :insync - the correct module is installed and up to date, or the module is actually a boy band.
@return [Symbol] @abstract