diff options
Diffstat (limited to 'lib/highline/question.rb')
-rwxr-xr-x | lib/highline/question.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/highline/question.rb b/lib/highline/question.rb index f6cccfb..d94df9a 100755 --- a/lib/highline/question.rb +++ b/lib/highline/question.rb @@ -393,7 +393,7 @@ class HighLine # Returns true if _first_answer_ is set. def first_answer? - !!@first_answer + true if @first_answer end # @@ -579,7 +579,7 @@ class HighLine if echo == true response # any truethy value, probably a String - elsif !!echo + elsif echo echo # any falsy value, false or nil else |