#primary
[ GitHub ]# File 'lib/rbs/environment.rb', line 101
def primary @primary ||= begin validate_type_params decls.find {|d| d.decl.super_class } || 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 101
def primary @primary ||= begin validate_type_params decls.find {|d| d.decl.super_class } || decls.first or raise("decls cannot be empty") end end