Parent

Namespace

Class/Module Index [+]

Quicksearch

Rex::Ui::Output

This class acts as a generic base class for outputing data. It only provides stubs for the simplest form of outputing information.

Public Instance Methods

flush() click to toggle source

Flushes any buffered output.

# File lib/rex/ui/output.rb, line 56
def flush
end
prompting(v = true) click to toggle source

Called to tell the output medium that we're at a prompt. This is used to allow the output medium to display an extra carriage return

# File lib/rex/ui/output.rb, line 64
def prompting(v = true)
        @at_prompt = v
end
prompting?() click to toggle source

Returns whether or not we're at a prompt currently

# File lib/rex/ui/output.rb, line 71
def prompting?
        @at_prompt
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.