lib/ruby-debug/processor.rb in ruby-debug-ide-0.1.6 vs lib/ruby-debug/processor.rb in ruby-debug-ide-0.1.7

- old
+ new

@@ -17,11 +17,11 @@ @printer.print_debug("Starting command read loop") control_cmds = Command.commands.select{|cmd| cmd.control } state = ControlState.new(@interface, control_cmds) commands = control_cmds.map{|cmd| cmd.new(state, @printer) } - while input = @interface.read_command("") + while input = @interface.read_command # escape % since print_debug might use printf @printer.print_debug "Processing: #{input.gsub('%', '%%')}" catch(:debug_error) do if cmd = commands.find{|c| c.match(input) } cmd.execute @@ -108,14 +108,10 @@ def print(*args) @interface.print(*args) end - def confirm(*args) - @interface.confirm(*args) - end - def proceed? @proceed end def proceed @@ -133,13 +129,9 @@ def proceed end def print(*args) @interface.print(*args) - end - - def confirm(*args) - 'y' end def context nil end