Exception: Sprinkle::MissingPackageError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sprinkle/policy.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ MissingPackageError

Returns a new instance of MissingPackageError



16
17
18
# File 'lib/sprinkle/policy.rb', line 16

def initialize(name)
  @name = name
end

Instance Method Details

#to_sObject



20
21
22
# File 'lib/sprinkle/policy.rb', line 20

def to_s
  "Package definition not found for key: #{@name}"
end