Class: Byebug::ControlCommandProcessor::State
- Inherits:
-
Object
- Object
- Byebug::ControlCommandProcessor::State
- Extended by:
- Forwardable
- Defined in:
- lib/byebug/processor.rb
Instance Attribute Summary collapse
-
#commands ⇒ Object
readonly
Returns the value of attribute commands.
-
#interface ⇒ Object
readonly
Returns the value of attribute interface.
Instance Method Summary collapse
- #confirm(*args) ⇒ Object
- #context ⇒ Object
- #file ⇒ Object
-
#initialize(interface, commands) ⇒ State
constructor
A new instance of State.
- #proceed ⇒ Object
Constructor Details
#initialize(interface, commands) ⇒ State
Returns a new instance of State.
415 416 417 418 |
# File 'lib/byebug/processor.rb', line 415 def initialize(interface, commands) @interface = interface @commands = commands end |
Instance Attribute Details
#commands ⇒ Object (readonly)
Returns the value of attribute commands.
413 414 415 |
# File 'lib/byebug/processor.rb', line 413 def commands @commands end |
#interface ⇒ Object (readonly)
Returns the value of attribute interface.
413 414 415 |
# File 'lib/byebug/processor.rb', line 413 def interface @interface end |
Instance Method Details
#confirm(*args) ⇒ Object
426 427 428 |
# File 'lib/byebug/processor.rb', line 426 def confirm(*args) 'y' end |
#context ⇒ Object
430 431 432 |
# File 'lib/byebug/processor.rb', line 430 def context nil end |
#file ⇒ Object
434 435 436 437 |
# File 'lib/byebug/processor.rb', line 434 def file errmsg "No filename given.\n" throw :debug_error end |
#proceed ⇒ Object
420 421 |
# File 'lib/byebug/processor.rb', line 420 def proceed end |