Module: Rex::Ui::Subscriber::Input
- Included in:
- Rex::Ui::Subscriber
- Defined in:
- lib/rex/ui/subscriber.rb
Overview
Subscribes to the input half of the user interface.
Instance Attribute Summary collapse
-
#user_input ⇒ Object
The user intput handle.
Instance Method Summary collapse
-
#gets ⇒ Object
Gets a line of input from the user_input handle by calling gets.
Instance Attribute Details
#user_input ⇒ Object
The user intput handle.
117 118 119 |
# File 'lib/rex/ui/subscriber.rb', line 117 def user_input @user_input end |
Instance Method Details
#gets ⇒ Object
Gets a line of input from the user_input handle by calling gets.
110 111 112 |
# File 'lib/rex/ui/subscriber.rb', line 110 def gets user_input.gets if (user_input) end |