Class: Tapioca::RBI::TStruct
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/rbi/model.rb
Overview
Sorbet’s T::Struct
Instance Attribute Summary
Attributes inherited from Class
Attributes inherited from Tree
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(name) ⇒ TStruct
constructor
A new instance of TStruct.
Methods inherited from Scope
Methods inherited from Tree
#<<, #accept_printer, #empty?, #group_nodes!, #nest_non_public_methods!, #nest_singleton_methods!, #oneline?, #sort_nodes!
Methods inherited from Node
#accept_printer, #detach, #group_kind, #oneline?, #print, #string
Constructor Details
#initialize(name) ⇒ TStruct
Returns a new instance of TStruct.
310 311 312 |
# File 'lib/tapioca/rbi/model.rb', line 310 def initialize(name) super(name, superclass_name: "::T::Struct") end |