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 input 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 input handle.
119 120 121 |
# File 'lib/rex/ui/subscriber.rb', line 119 def user_input @user_input end |
Instance Method Details
#gets ⇒ Object
Gets a line of input from the user_input handle by calling gets.
112 113 114 |
# File 'lib/rex/ui/subscriber.rb', line 112 def gets user_input.gets if (user_input) end |