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 input handle.



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

def user_input
  @user_input
end

Instance Method Details

#getsObject

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