diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-11-04 22:45:55 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-11-05 11:26:00 -0300 |
commit | b799c5858c99bad7ae8d3c3070acf036848be0ba (patch) | |
tree | 31a95895548058f6e21faf1f6f70f7bd21c506d8 | |
parent | 0a593feeca4288129c763eee1efa251b9fdf7278 (diff) | |
download | highline-b799c5858c99bad7ae8d3c3070acf036848be0ba.tar.gz |
Remove unused code. QuestionAsker has its own
-rwxr-xr-x | lib/highline.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/highline.rb b/lib/highline.rb index 33ab7eb..6ece3dc 100755 --- a/lib/highline.rb +++ b/lib/highline.rb @@ -479,15 +479,6 @@ class HighLine private - # - # A helper method for sending the output stream and error and repeat - # of the question. - # - def explain_error(error, question) - say(question.final_responses[error]) if error - say(question.ask_on_error_msg) - end - # Adds a layer of scope (new_scope) to ask a question inside a # question, without destroying instance data def confirm(question) |