Exception: Pot::VerificationFailed

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(package, description) ⇒ VerificationFailed

Returns a new instance of VerificationFailed.



105
106
107
108
109
110
# File 'lib/pot/verify.rb', line 105

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.



103
104
105
# File 'lib/pot/verify.rb', line 103

def description
  @description
end

#packageObject

Returns the value of attribute package.



103
104
105
# File 'lib/pot/verify.rb', line 103

def package
  @package
end