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.



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

def initialize(interface)
  @interface = interface
end

Instance Method Details

#contextObject



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

def context
  nil
end

#fileObject



147
148
149
150
# File 'lib/ruby-debug/processor.rb', line 147

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


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

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

#proceedObject



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

def proceed
end