Exception: Kwaff::AssertionError
- Inherits:
-
KwaffError
- Object
- StandardError
- KwaffError
- Kwaff::AssertionError
- Defined in:
- lib/kwaff/errors.rb
Instance Method Summary collapse
-
#initialize(linenum, msg = nil) ⇒ AssertionError
constructor
A new instance of AssertionError.
Constructor Details
#initialize(linenum, msg = nil) ⇒ AssertionError
Returns a new instance of AssertionError.
17 18 19 |
# File 'lib/kwaff/errors.rb', line 17 def initialize(linenum, msg=nil) super("assertion error: #{linenum}" + (msg ? ": msg=#{msg};" : "")) end |