Module: T::Types::TypeParameter::Private

Defined in:
lib/types/types/type_parameter.rb

Class Method Summary collapse

Class Method Details

.cached_entry(name) ⇒ Object



9
10
11
# File 'lib/types/types/type_parameter.rb', line 9

def self.cached_entry(name)
  @pool[name]
end

.set_entry_for(name, type) ⇒ Object



13
14
15
# File 'lib/types/types/type_parameter.rb', line 13

def self.set_entry_for(name, type)
  @pool[name] = type
end