Method: TypeProf::Core::MethodDefBox#destroy

Defined in:
lib/typeprof/core/graph/box.rb

#destroy(genv) ⇒ Object



423
424
425
426
427
428
429
# File 'lib/typeprof/core/graph/box.rb', line 423

def destroy(genv)
  me = genv.resolve_method(@cpath, @singleton, @mid)
  me.remove_def(self)
  me.add_run_all_method_call_boxes(genv) if me.decls.empty?
  genv.add_run(self)
  super(genv)
end