Class: Debugger::LocalInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-debug/interface.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#closeObject



15
16
# File 'lib/ruby-debug/interface.rb', line 15

def close
end

#confirm(prompt) ⇒ Object



7
8
9
# File 'lib/ruby-debug/interface.rb', line 7

def confirm(prompt)
  readline(prompt, false)
end


11
12
13
# File 'lib/ruby-debug/interface.rb', line 11

def print(*args)
  STDOUT.printf(*args)
end

#read_command(prompt) ⇒ Object



3
4
5
# File 'lib/ruby-debug/interface.rb', line 3

def read_command(prompt)
  readline(prompt, true)
end