#primary
[ GitHub ]# File 'lib/rbs/environment.rb', line 85
def primary @primary ||= begin validate_type_params decls.first or raise("decls cannot be empty") end end
123456789_123456789_123456789_123456789_123456789_
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
MultiEntry
|
|
Instance Chain:
self,
MultiEntry
|
|
Inherits: |
RBS::Environment::MultiEntry
|
Defined in: | lib/rbs/environment.rb |
MultiEntry
- InheritedMultiEntry
- InheritedMultiEntry
- InheritedMultiEntry
- InheritedThis class inherits a constructor from RBS::Environment::MultiEntry
# File 'lib/rbs/environment.rb', line 85
def primary @primary ||= begin validate_type_params decls.first or raise("decls cannot be empty") end end
# File 'lib/rbs/environment.rb', line 79
def self_types decls.flat_map do |d| d.decl.self_types end.uniq end