Method: Rtml::Test::Screen#input?
- Defined in:
- lib/rtml/test/screen.rb
#input? ⇒ Boolean
Returns true if this screen is an input screen (that is, if it will halt program flow waiting for user input).
63 64 65 66 67 |
# File 'lib/rtml/test/screen.rb', line 63 def input? return true if !choices.empty? Rtml::Test::TmlApplication::USER_INPUT_ELEMENTS.each { |ele| return true if !(@screen / ele).empty? } false end |