diff options
Diffstat (limited to 'lib/highline.rb')
-rwxr-xr-x | lib/highline.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/highline.rb b/lib/highline.rb index 784a93b..65845e1 100755 --- a/lib/highline.rb +++ b/lib/highline.rb @@ -530,10 +530,10 @@ class HighLine say(question) unless ((question.readline) and (question.echo == true and question.limit.nil?)) begin - question.answer = question.get_response_or_default(self) + question.get_response_or_default(self) raise NotValidQuestionError unless question.valid_answer? - question.answer = question.convert + question.convert if question.in_range? if question.confirm |