Exception: Assertion::AssertionError
- Inherits:
-
StandardError
- Object
- StandardError
- Assertion::AssertionError
- Defined in:
- lib/kwatable/util/assertion.rb
Overview
assertion error class
Direct Known Subclasses
Instance Method Summary collapse
- #_to_s ⇒ Object
-
#initialize(message = '') ⇒ AssertionError
constructor
A new instance of AssertionError.
- #to_s ⇒ Object
Constructor Details
#initialize(message = '') ⇒ AssertionError
Returns a new instance of AssertionError.
24 25 26 |
# File 'lib/kwatable/util/assertion.rb', line 24 def initialize(='') super end |
Instance Method Details
#_to_s ⇒ Object
28 |
# File 'lib/kwatable/util/assertion.rb', line 28 alias _to_s to_s |
#to_s ⇒ Object
30 31 32 33 34 |
# File 'lib/kwatable/util/assertion.rb', line 30 def to_s #s = super s = _to_s() return "*** assertion error: #{s}" end |