Method: Puppet::ModuleTool::Errors::NotInstalledError#initialize
- Defined in:
- lib/puppet/module_tool/errors/shared.rb
#initialize(options) ⇒ NotInstalledError
Returns a new instance of NotInstalledError.
116 117 118 119 120 121 |
# File 'lib/puppet/module_tool/errors/shared.rb', line 116 def initialize() @module_name = [:module_name] @suggestions = [:suggestions] || [] @action = [:action] super _("Could not %{action} '%{module_name}'; module is not installed") % { action: @action, module_name: @module_name } end |