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

Instance Method Summary collapse

Instance Attribute Details

#user_inputObject

The user intput handle.



127
128
129
# File 'lib/rex/ui/subscriber.rb', line 127

def user_input
  @user_input
end

Instance Method Details

#getsObject

Gets a line of input from the user_input handle by calling gets.



120
121
122
# File 'lib/rex/ui/subscriber.rb', line 120

def gets
  user_input.gets if (user_input)
end