Method: Rex::Ui::Text::DispatcherShell#enstack_dispatcher
- Defined in:
- lib/rex/ui/text/dispatcher_shell.rb
#enstack_dispatcher(dispatcher) ⇒ Object
Push a dispatcher to the front of the stack.
443 444 445 446 447 |
# File 'lib/rex/ui/text/dispatcher_shell.rb', line 443 def enstack_dispatcher(dispatcher) self.dispatcher_stack.unshift(inst = dispatcher.new(self)) inst end |