module Rex::Ui::Subscriber::Output

Subscribes to the output half of the user interface.

Attributes

user_output[RW]

The user output handle.

Public Instance Methods

flush() click to toggle source

Wraps user_output.flush

# File lib/rex/ui/subscriber.rb, line 78
def flush
  user_output.flush if (user_output)
end
print(msg='') click to toggle source

Wraps user_output.print

print_error(msg='') click to toggle source

Wraps user_output.print_error

print_good(msg='') click to toggle source

Wraps user_output.print_good

print_line(msg='') click to toggle source

Wraps user_output.print_line

print_status(msg='') click to toggle source

Wraps user_output.print_status

print_warning(msg='') click to toggle source

Wraps user_output.print_warning

Protected Instance Methods

print_blank_line() click to toggle source

Prints a blank line. Used when the input is prompting.