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.



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

def initialize(interface)
  @interface = interface
end

Instance Method Details

#contextObject



154
155
156
# File 'lib/ruby-debug-ide/ide_processor.rb', line 154

def context
  nil
end

#fileObject



158
159
160
161
# File 'lib/ruby-debug-ide/ide_processor.rb', line 158

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


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

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

#proceedObject



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

def proceed
end