class Byebug::CommandNotFound


Custom exception exception to signal “command not found” errors

def build_cmd(*args)

def build_cmd(*args)
  args.compact.join(" ")
end

def help

def help
  build_cmd("help", @parent)
end

def initialize(input, parent = nil)

def initialize(input, parent = nil)
  @input = input
  @parent = parent
  super("Unknown command '#{name}'. Try '#{help}'")
end

def name

def name
  build_cmd(@parent, @input)
end