Method: Rex::Ui::Text::DispatcherShell#initialize

Defined in:
lib/rex/ui/text/dispatcher_shell.rb

#initialize(prompt, prompt_char = '>', histfile = nil, framework = nil) ⇒ Object

Initialize the dispatcher shell.



258
259
260
261
262
263
264
265
266
267
# File 'lib/rex/ui/text/dispatcher_shell.rb', line 258

def initialize(prompt, prompt_char = '>', histfile = nil, framework = nil)
  super

  # Initialze the dispatcher array
  self.dispatcher_stack = []

  # Initialize the tab completion array
  self.tab_words = []
  self.on_command_proc = nil
end