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.



117
118
119
# File 'lib/rex/ui/subscriber.rb', line 117

def user_input
  @user_input
end

Instance Method Details

#getsObject

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