Exception: Screengem::IncorrectAnswer
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Screengem::IncorrectAnswer
- Defined in:
- lib/screengem/incorrect_answer.rb
Overview
Common error to signal a question that was answered incorrectly.
Instance Method Summary collapse
-
#initialize(question) ⇒ IncorrectAnswer
constructor
A new instance of IncorrectAnswer.
Constructor Details
#initialize(question) ⇒ IncorrectAnswer
6 7 8 |
# File 'lib/screengem/incorrect_answer.rb', line 6 def initialize(question) super(extract_question_text(question)) end |