summaryrefslogtreecommitdiff
path: root/lib/highline/menu.rb
diff options
context:
space:
mode:
authorAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-07-17 10:04:14 -0300
committerAbinoam Praxedes Marques Jr <abinoam@gmail.com>2015-07-17 10:09:22 -0300
commit3b7d9225df9667000951da9d5e36bdf067afe376 (patch)
tree3a2eb5a53ea72c757aed1dbac99f4fd93e96e7da /lib/highline/menu.rb
parent5f6780d4f85272ccae5a81cb08a7811ebd005d65 (diff)
downloadhighline-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