Class: Debugger::ControlState

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(interface) ⇒ ControlState

Returns a new instance of ControlState.



135
136
137
# File 'lib/ruby-debug-ide/ide_processor.rb', line 135

def initialize(interface)
  @interface = interface
end

Instance Method Details

#contextObject



146
147
148
# File 'lib/ruby-debug-ide/ide_processor.rb', line 146

def context
  nil
end

#fileObject



150
151
152
153
# File 'lib/ruby-debug-ide/ide_processor.rb', line 150

def file
  print "ERROR: No filename given.\n"
  throw :debug_error
end


142
143
144
# File 'lib/ruby-debug-ide/ide_processor.rb', line 142

def print(*args)
  @interface.print(*args)
end

#proceedObject



139
140
# File 'lib/ruby-debug-ide/ide_processor.rb', line 139

def proceed
end