Class: Steep::TypeConstruction::BlockContext
- Inherits:
-
Object
- Object
- Steep::TypeConstruction::BlockContext
- Defined in:
- lib/steep/type_construction.rb
Instance Attribute Summary collapse
-
#body_type ⇒ Object
readonly
Returns the value of attribute body_type.
Instance Method Summary collapse
-
#initialize(body_type:) ⇒ BlockContext
constructor
A new instance of BlockContext.
Constructor Details
#initialize(body_type:) ⇒ BlockContext
Returns a new instance of BlockContext.
30 31 32 |
# File 'lib/steep/type_construction.rb', line 30 def initialize(body_type:) @body_type = body_type end |
Instance Attribute Details
#body_type ⇒ Object (readonly)
Returns the value of attribute body_type.
28 29 30 |
# File 'lib/steep/type_construction.rb', line 28 def body_type @body_type end |