module Bombshell::Shell::Commands

Standard commands that show up in all Bombshell shells.

Constants

HIDE

An explicit list of commands to hide from tab completion.

Public Instance Methods

method_missing(*args) click to toggle source

Provide an error message for unknown commands rather than raise an exception.

# File lib/bombshell/shell/commands.rb, line 14
def method_missing(*args)
  return if [:extend, :respond_to?].include? args.first
  puts "Unknown command #{args.first}"
end
quit() click to toggle source

Exit safely, accounting for the fact that we might be inside a subshell.

# File lib/bombshell/shell/commands.rb, line 9
def quit
  throw :IRB_EXIT
end