diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-06-06 02:10:59 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-06-06 02:12:07 -0300 |
commit | 9736ad9375d9a6922d17a1c0ab39894e3eb10ce0 (patch) | |
tree | 9f9804756ea210e415b8cb3da38ef972b74858f3 | |
parent | 6c03788b0aaa7afe5016302fb7c9dc9ca47cae3a (diff) | |
download | highline-9736ad9375d9a6922d17a1c0ab39894e3eb10ce0.tar.gz |
Make all convertion methods private to AnswerConverter
And remove TODO message
-rw-r--r-- | lib/highline/question/answer_converter.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/highline/question/answer_converter.rb b/lib/highline/question/answer_converter.rb index 3f73f9f..2bc90bb 100644 --- a/lib/highline/question/answer_converter.rb +++ b/lib/highline/question/answer_converter.rb @@ -1,9 +1,5 @@ #!/usr/bin/env ruby -# TODO: This module was extracted from HighLine::Question -# Now the dependencies are clear. See the delegators. -# Remember to refactor it! - class HighLine class Question class AnswerConverter @@ -34,6 +30,8 @@ class HighLine answer end + private + def String HighLine::String(answer) end |