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.



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

def initialize(interface)
  @interface = interface
end

Instance Method Details

#contextObject



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

def context
  nil
end

#fileObject



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

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


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

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

#proceedObject



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

def proceed
end