Exception: Sprinkle::VerificationFailed

Inherits:
Exception
  • Object
show all
Defined in:
lib/sprinkle/verify.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(package, description) ⇒ VerificationFailed

Returns a new instance of VerificationFailed.



107
108
109
110
111
112
# File 'lib/sprinkle/verify.rb', line 107

def initialize(package, description)
  super("Verifying #{package.name}#{description} failed.")
  
  @package = package
  @description = description
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



105
106
107
# File 'lib/sprinkle/verify.rb', line 105

def description
  @description
end

#packageObject

Returns the value of attribute package.



105
106
107
# File 'lib/sprinkle/verify.rb', line 105

def package
  @package
end