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.



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

def initialize(interface)
  @interface = interface
end

Instance Method Details

#contextObject



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

def context
  nil
end

#fileObject



142
143
144
145
# File 'lib/ruby-debug/processor.rb', line 142

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


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

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

#proceedObject



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

def proceed
end