Exception: Crucible::Tests::AssertionException
- Inherits:
-
Exception
- Object
- Exception
- Crucible::Tests::AssertionException
- Defined in:
- lib/tests/assertions.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(message, data = nil) ⇒ AssertionException
constructor
A new instance of AssertionException.
Constructor Details
#initialize(message, data = nil) ⇒ AssertionException
Returns a new instance of AssertionException.
251 252 253 254 |
# File 'lib/tests/assertions.rb', line 251 def initialize(, data=nil) super() @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
250 251 252 |
# File 'lib/tests/assertions.rb', line 250 def data @data end |