class Byebug::ReloadCommand

Implements byebug “reload” command.

def description

def description
  %{r[eload]\tforces source code reloading}
end

def execute

def execute
  Byebug.source_reload
  print "Source code is reloaded. Automatic reloading is "   \
        "#{Command.settings[:autoreload] ? 'on' : 'off'}.\n"
end

def names

def names
  %w(reload)
end

def regexp

def regexp
  /^\s* r(?:eload)? \s*$/x
end