Exception: Deltacloud::Validation::Failure
- Inherits:
-
StandardError
- Object
- StandardError
- Deltacloud::Validation::Failure
- Defined in:
- lib/deltacloud/validation.rb
Instance Attribute Summary collapse
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(param, msg = '') ⇒ Failure
constructor
A new instance of Failure.
- #name ⇒ Object
Constructor Details
#initialize(param, msg = '') ⇒ Failure
Returns a new instance of Failure.
23 24 25 26 |
# File 'lib/deltacloud/validation.rb', line 23 def initialize(param, msg='') super(msg) @param = param end |
Instance Attribute Details
#param ⇒ Object (readonly)
Returns the value of attribute param.
22 23 24 |
# File 'lib/deltacloud/validation.rb', line 22 def param @param end |
Instance Method Details
#name ⇒ Object
28 29 30 |
# File 'lib/deltacloud/validation.rb', line 28 def name param.name end |