Exception: Thoreau::TestCasesAtMultipleLevelsError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Thoreau::TestCasesAtMultipleLevelsError
- Defined in:
- lib/thoreau/errors.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ TestCasesAtMultipleLevelsError
constructor
A new instance of TestCasesAtMultipleLevelsError.
Constructor Details
#initialize(msg = nil) ⇒ TestCasesAtMultipleLevelsError
Returns a new instance of TestCasesAtMultipleLevelsError.
3 4 5 |
# File 'lib/thoreau/errors.rb', line 3 def initialize(msg = nil) super "Test cases must be specified either at the top level or inside test_cases blocks, but not both!" end |