Module: Kwartz::Assertion

Included in:
Expander, Handler, PresentationLogicParser
Defined in:
lib/kwartz/assert.rb

Class Method Summary collapse

Class Method Details

.assert(message = "") ⇒ Object

Raises:



23
24
25
# File 'lib/kwartz/assert.rb', line 23

def assert(message="")
  raise AssertionError.new("*** assertion failed: #{message}")
end