summaryrefslogtreecommitdiff
path: root/lib/highline/question_asker.rb
diff options
context:
space:
mode:
authormatugm <matugm@gmail.com>2015-09-23 17:54:43 +0200
committermatugm <matugm@gmail.com>2015-09-23 18:00:28 +0200
commit89aa47c9edb6e50297107f42b6ea47f95038e2cf (patch)
tree7a0059ce09ddbdff7ca1435fb8b5bf083e3cc1d6 /lib/highline/question_asker.rb
parenta631dd1bd4f21202aa7a6a4630d187a79f31d21a (diff)
downloadhighline-89aa47c9edb6e50297107f42b6ea47f95038e2cf.tar.gz
Remove duplicated class
Diffstat (limited to 'lib/highline/question_asker.rb')
-rw-r--r--lib/highline/question_asker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/highline/question_asker.rb b/lib/highline/question_asker.rb
index 5645f8f..e207c83 100644
--- a/lib/highline/question_asker.rb
+++ b/lib/highline/question_asker.rb
@@ -35,7 +35,7 @@ class QuestionAsker
explain_error(nil)
retry
- rescue HighLine::NotInRangeQuestionError
+ rescue NotInRangeQuestionError
explain_error(:not_in_range)
retry
@@ -61,7 +61,7 @@ class QuestionAsker
raise
end
- rescue HighLine::Question::NoAutoCompleteMatch
+ rescue NoAutoCompleteMatch
explain_error(:no_completion)
retry
end