Class: Debugger::ControlState

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(interface) ⇒ ControlState

Returns a new instance of ControlState.



124
125
126
# File 'lib/ruby-debug/processor.rb', line 124

def initialize(interface)
  @interface = interface
end

Instance Method Details

#contextObject



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

def context
  nil
end

#fileObject



139
140
141
142
# File 'lib/ruby-debug/processor.rb', line 139

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


131
132
133
# File 'lib/ruby-debug/processor.rb', line 131

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

#proceedObject



128
129
# File 'lib/ruby-debug/processor.rb', line 128

def proceed
end