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