Method: Puppet::ModuleTool::Errors::InvalidModuleNameError#multiline
- Defined in:
- lib/puppet/module_tool/errors/shared.rb
#multiline ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
139 140 141 142 143 144 145 |
# File 'lib/puppet/module_tool/errors/shared.rb', line 139 def multiline = [] << _("Could not %{action} module '%{module_name}'") % { action: @action, module_name: @module_name } << _(" The name '%{module_name}' is invalid") % { module_name: @module_name } << _(" Did you mean `puppet module %{action} %{suggestion}`?") % { action: @action, suggestion: @suggestion } .join("\n") end |