Exception: Pickaxe::Errors::TestSyntaxError
- Inherits:
-
PickaxeError
- Object
- StandardError
- PickaxeError
- Pickaxe::Errors::TestSyntaxError
- Defined in:
- lib/pickaxe/errors.rb
Direct Known Subclasses
BadAnswer, BadQuestion, MissingAnswers, MissingContent, NoCorrectAnswer
Instance Method Summary collapse
-
#initialize(line, message) ⇒ TestSyntaxError
constructor
A new instance of TestSyntaxError.
Constructor Details
#initialize(line, message) ⇒ TestSyntaxError
Returns a new instance of TestSyntaxError.
10 11 12 |
# File 'lib/pickaxe/errors.rb', line 10 def initialize(line, ) super(" line #{line}: #{}") end |