Class: Debugger::ControlState
- Inherits:
-
Object
- Object
- Debugger::ControlState
- Defined in:
- lib/ruby-debug/processor.rb
Overview
:nodoc:
Instance Method Summary collapse
- #context ⇒ Object
- #file ⇒ Object
-
#initialize(interface) ⇒ ControlState
constructor
A new instance of ControlState.
- #print(*args) ⇒ Object
- #proceed ⇒ Object
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
#context ⇒ Object
135 136 137 |
# File 'lib/ruby-debug/processor.rb', line 135 def context nil end |
#file ⇒ Object
139 140 141 142 |
# File 'lib/ruby-debug/processor.rb', line 139 def file print "ERROR: No filename given.\n" throw :debug_error end |
#print(*args) ⇒ Object
131 132 133 |
# File 'lib/ruby-debug/processor.rb', line 131 def print(*args) @interface.print(*args) end |
#proceed ⇒ Object
128 129 |
# File 'lib/ruby-debug/processor.rb', line 128 def proceed end |