Method: Rex::Ui::Text::DispatcherShell#blocked_command?
- Defined in:
- lib/rex/ui/text/dispatcher_shell.rb
#blocked_command?(cmd) ⇒ Boolean
Returns nil for an empty set of blocked commands.
508 509 510 511 |
# File 'lib/rex/ui/text/dispatcher_shell.rb', line 508 def blocked_command?(cmd) return false if not self.blocked self.blocked.has_key?(cmd) end |