class PuppetForge::InvalidPathInPackageError

Public Class Methods

new(options) click to toggle source
Calls superclass method PuppetForge::Error.new
# File lib/puppet_forge/error.rb, line 16
def initialize(options)
  @entry_path = options[:entry_path]
  @directory  = options[:directory]
  super _("Attempt to install file into %{path} under %{directory}") % {path: @entry_path.inspect, directory: @directory.inspect}
end

Public Instance Methods

multiline() click to toggle source
# File lib/puppet_forge/error.rb, line 22
def multiline
  _("Could not install package\n  Package attempted to install file into\n  %{path} under %{directory}.") % {path: @entry_path.inspect, directory: @directory.inspect}
end