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.
256 257 258 259 260 |
# File 'lib/tests/assertions.rb', line 256 def initialize(, data=nil) super() FHIR.logger.error "AssertionException: #{}" @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
255 256 257 |
# File 'lib/tests/assertions.rb', line 255 def data @data end |