Class: Steep::TypeConstruction::BreakContext
- Inherits:
-
Object
- Object
- Steep::TypeConstruction::BreakContext
- Defined in:
- lib/steep/type_construction.rb
Instance Attribute Summary collapse
-
#break_type ⇒ Object
readonly
Returns the value of attribute break_type.
-
#next_type ⇒ Object
readonly
Returns the value of attribute next_type.
Instance Method Summary collapse
-
#initialize(break_type:, next_type:) ⇒ BreakContext
constructor
A new instance of BreakContext.
Constructor Details
#initialize(break_type:, next_type:) ⇒ BreakContext
Returns a new instance of BreakContext.
75 76 77 78 |
# File 'lib/steep/type_construction.rb', line 75 def initialize(break_type:, next_type:) @break_type = break_type @next_type = next_type end |
Instance Attribute Details
#break_type ⇒ Object (readonly)
Returns the value of attribute break_type.
72 73 74 |
# File 'lib/steep/type_construction.rb', line 72 def break_type @break_type end |
#next_type ⇒ Object (readonly)
Returns the value of attribute next_type.
73 74 75 |
# File 'lib/steep/type_construction.rb', line 73 def next_type @next_type end |