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


140
141
142
143
144
145
# File 'lib/sprinkle/verify.rb', line 140

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


138
139
140
# File 'lib/sprinkle/verify.rb', line 138

def description
  @description
end

#packageObject

Returns the value of attribute package


138
139
140
# File 'lib/sprinkle/verify.rb', line 138

def package
  @package
end