In Files

  • rbs-2.1.0/lib/rbs/environment.rb

Class/Module Index [+]

Quicksearch

RBS::Environment::ClassEntry

Public Instance Methods

primary() click to toggle source
 
               # File rbs-2.1.0/lib/rbs/environment.rb, line 90
def primary
  @primary ||= begin
                 validate_type_params
                 decls.find {|d| d.decl.super_class } || decls.first or raise("decls cannot be empty")
               end
end
            
There is an updated format of the API docs for this version here.