Method: Puppet::ModuleTool::Errors::InvalidPathInPackageError#initialize

Defined in:
lib/puppet/module_tool/errors/installer.rb

#initialize(options) ⇒ InvalidPathInPackageError

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.

Returns a new instance of InvalidPathInPackageError.



81
82
83
84
85
# File 'lib/puppet/module_tool/errors/installer.rb', line 81

def initialize(options)
  @entry_path = options[:entry_path]
  @directory  = options[:directory]
  super _("Attempt to install file with an invalid path into %{path} under %{dir}") % { path: @entry_path.inspect, dir: @directory.inspect }
end