Method: TypeProf::Core::Type::Singleton#initialize

Defined in:
lib/typeprof/core/type.rb

#initialize(genv, mod) ⇒ Singleton

: (GlobalEnv, ModuleEntity) -> void



45
46
47
48
49
# File 'lib/typeprof/core/type.rb', line 45

def initialize(genv, mod)
  raise unless mod.is_a?(ModuleEntity)
  # TODO: type_param
  @mod = mod
end