Exception: Puppet::ModuleTool::Errors::MissingInstallDirectoryError
- Inherits:
-
InstallError
- Object
- StandardError
- ModuleToolError
- InstallError
- Puppet::ModuleTool::Errors::MissingInstallDirectoryError
- Defined in:
- lib/vendor/puppet/module_tool/errors/installer.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ MissingInstallDirectoryError
constructor
A new instance of MissingInstallDirectoryError.
- #multiline ⇒ Object
Methods inherited from ModuleToolError
Constructor Details
#initialize(options) ⇒ MissingInstallDirectoryError
Returns a new instance of MissingInstallDirectoryError.
76 77 78 79 80 81 |
# File 'lib/vendor/puppet/module_tool/errors/installer.rb', line 76 def initialize() @requested_module = [:requested_module] @requested_version = [:requested_version] @directory = [:directory] super "'#{@requested_module}' (#{@requested_version}) requested; Directory #{@directory} does not exist" end |
Instance Method Details
#multiline ⇒ Object
83 84 85 86 87 88 |
# File 'lib/vendor/puppet/module_tool/errors/installer.rb', line 83 def multiline <<-MSG.strip Could not install module '#{@requested_module}' (#{@requested_version}) Directory #{@directory} does not exist MSG end |