Class: Byebug::State

Inherits:
Object
  • Object
show all
Defined in:
lib/byebug/state.rb

Overview

Common parent class for all of Byebug's states

Direct Known Subclasses

ControlState, RegularState

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(interface) ⇒ State

Returns a new instance of State.


8
9
10
# File 'lib/byebug/state.rb', line 8

def initialize(interface)
  @interface = interface
end

Instance Attribute Details

#interfaceObject (readonly)

Returns the value of attribute interface


6
7
8
# File 'lib/byebug/state.rb', line 6

def interface
  @interface
end