Class: RBS::Types::Bases::Instance

Inherits:
Base
  • Object
show all
Defined in:
lib/rbs/types.rb

Instance Attribute Summary

Attributes inherited from Base

#location

Instance Method Summary collapse

Methods inherited from Base

#==, #hash, #initialize, #to_json, #to_s

Methods included from NoTypeName

#map_type_name

Methods included from EmptyEachType

#each_type, #map_type

Methods included from NoFreeVariables

#free_variables

Constructor Details

This class inherits a constructor from RBS::Types::Bases::Base

Instance Method Details

#sub(s) ⇒ Object



103
104
105
# File 'lib/rbs/types.rb', line 103

def sub(s)
  s.apply(self)
end