Exception: Crucible::Tests::AssertionException

Inherits:
Exception
  • Object
show all
Defined in:
lib/tests/assertions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, data=nil)
  super(message)
  @data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



250
251
252
# File 'lib/tests/assertions.rb', line 250

def data
  @data
end