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.



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

def initialize(interface)
  @interface = interface
end

Instance Method Details

#contextObject



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

def context
  nil
end

#fileObject



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

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


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

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

#proceedObject



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

def proceed
end