Class: Byebug::CommandProcessor::State
- Inherits:
-
Object
- Object
- Byebug::CommandProcessor::State
- Extended by:
- Forwardable
- Defined in:
- lib/byebug/processor.rb
Instance Attribute Summary collapse
-
#commands ⇒ Object
Returns the value of attribute commands.
-
#context ⇒ Object
Returns the value of attribute context.
-
#display ⇒ Object
Returns the value of attribute display.
-
#file ⇒ Object
Returns the value of attribute file.
-
#frame_pos ⇒ Object
Returns the value of attribute frame_pos.
-
#interface ⇒ Object
Returns the value of attribute interface.
-
#line ⇒ Object
Returns the value of attribute line.
-
#previous_line ⇒ Object
Returns the value of attribute previous_line.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ State
constructor
A new instance of State.
- #proceed ⇒ Object
- #proceed? ⇒ Boolean
Constructor Details
#initialize {|_self| ... } ⇒ State
Returns a new instance of State.
349 350 351 352 353 354 355 |
# File 'lib/byebug/processor.rb', line 349 def initialize super() @frame_pos = 0 @previous_line = nil @proceed = false yield self end |
Instance Attribute Details
#commands ⇒ Object
Returns the value of attribute commands.
346 347 348 |
# File 'lib/byebug/processor.rb', line 346 def commands @commands end |
#context ⇒ Object
Returns the value of attribute context.
346 347 348 |
# File 'lib/byebug/processor.rb', line 346 def context @context end |
#display ⇒ Object
Returns the value of attribute display.
346 347 348 |
# File 'lib/byebug/processor.rb', line 346 def display @display end |
#file ⇒ Object
Returns the value of attribute file.
346 347 348 |
# File 'lib/byebug/processor.rb', line 346 def file @file end |
#frame_pos ⇒ Object
Returns the value of attribute frame_pos.
347 348 349 |
# File 'lib/byebug/processor.rb', line 347 def frame_pos @frame_pos end |
#interface ⇒ Object
Returns the value of attribute interface.
347 348 349 |
# File 'lib/byebug/processor.rb', line 347 def interface @interface end |
#line ⇒ Object
Returns the value of attribute line.
347 348 349 |
# File 'lib/byebug/processor.rb', line 347 def line @line end |
#previous_line ⇒ Object
Returns the value of attribute previous_line.
347 348 349 |
# File 'lib/byebug/processor.rb', line 347 def previous_line @previous_line end |
Instance Method Details
#proceed ⇒ Object
364 365 366 |
# File 'lib/byebug/processor.rb', line 364 def proceed @proceed = true end |
#proceed? ⇒ Boolean
360 361 362 |
# File 'lib/byebug/processor.rb', line 360 def proceed? @proceed end |