Debugger::Command
Implements debugger “source” command.
# File lib/ruby-debug/commands/source.rb, line 10 def execute file = File.expand_path(@match[1]).strip unless File.exist?(file) errmsg pr("source.errors.not_found", file: file) return end if @state and @state.interface @state.interface.command_queue += File.open(file).readlines else Debugger.run_script(file, @state) end end
Generated with the Darkfish Rdoc Generator 2.