Exception: Turd::AssertionFailure
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Turd::AssertionFailure
- Defined in:
- lib/turd/assert.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ AssertionFailure
constructor
A new instance of AssertionFailure.
Constructor Details
#initialize(response) ⇒ AssertionFailure
Returns a new instance of AssertionFailure.
84 85 86 |
# File 'lib/turd/assert.rb', line 84 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
82 83 84 |
# File 'lib/turd/assert.rb', line 82 def response @response end |