summaryrefslogtreecommitdiff
path: root/lib/highline.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/highline.rb')
-rwxr-xr-xlib/highline.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/highline.rb b/lib/highline.rb
index 6ece3dc..1e195e6 100755
--- a/lib/highline.rb
+++ b/lib/highline.rb
@@ -196,6 +196,7 @@ class HighLine
q.responses[:not_valid] = 'Please enter "yes" or "no".'
q.responses[:ask_on_error] = :question
q.character = character
+ q.completion = %w[yes no]
yield q if block_given?
end