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.
132 133 134 |
# File 'lib/ruby-debug/processor.rb', line 132 def initialize(interface) @interface = interface end |
Instance Method Details
#context ⇒ Object
143 144 145 |
# File 'lib/ruby-debug/processor.rb', line 143 def context nil end |
#file ⇒ Object
147 148 149 150 |
# File 'lib/ruby-debug/processor.rb', line 147 def file print "ERROR: No filename given.\n" throw :debug_error end |
#print(*args) ⇒ Object
139 140 141 |
# File 'lib/ruby-debug/processor.rb', line 139 def print(*args) @interface.print(*args) end |
#proceed ⇒ Object
136 137 |
# File 'lib/ruby-debug/processor.rb', line 136 def proceed end |