Exception: WT::ExpectedBodyPartNotFoundException
- Inherits:
-
Exception
- Object
- Exception
- WT::ExpectedBodyPartNotFoundException
- Defined in:
- lib/assertion.rb
Instance Attribute Summary collapse
-
#body_part ⇒ Object
readonly
Returns the value of attribute body_part.
Instance Method Summary collapse
-
#initialize(body_part) ⇒ ExpectedBodyPartNotFoundException
constructor
A new instance of ExpectedBodyPartNotFoundException.
Constructor Details
#initialize(body_part) ⇒ ExpectedBodyPartNotFoundException
Returns a new instance of ExpectedBodyPartNotFoundException.
234 235 236 237 |
# File 'lib/assertion.rb', line 234 def initialize(body_part) super("Expected body part was not found in response.") @body_part = body_part end |
Instance Attribute Details
#body_part ⇒ Object (readonly)
Returns the value of attribute body_part.
232 233 234 |
# File 'lib/assertion.rb', line 232 def body_part @body_part end |