diff options
author | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-07-17 10:04:14 -0300 |
---|---|---|
committer | Abinoam Praxedes Marques Jr <abinoam@gmail.com> | 2015-07-17 10:09:22 -0300 |
commit | 3b7d9225df9667000951da9d5e36bdf067afe376 (patch) | |
tree | 3a2eb5a53ea72c757aed1dbac99f4fd93e96e7da /lib/highline/menu.rb | |
parent | 5f6780d4f85272ccae5a81cb08a7811ebd005d65 (diff) | |
download | highline-3b7d9225df9667000951da9d5e36bdf067afe376.tar.gz |
Completely remove @question inst var from HighLine objects
... and fix tests accordling.
Removing unecessary _state_ handling (inst vars) is a step
toward a thiner HighLine class.
Question shouldn't be a HighLine's _state_ because the **same**
HighLine instance could be able to ask several questions.
(At the previous code @question was a kind of _current_question_ state.
But this is not really necessary currently.)
Diffstat (limited to 'lib/highline/menu.rb')
0 files changed, 0 insertions, 0 deletions