Class: Upl::Inter::Agc
Overview
keep track of object_id atoms that were assigned in prolog, and prolog now wants to garbage collect them.
Class Method Summary collapse
Instance Method Summary collapse
- #deregister(obj) ⇒ Object
-
#initialize ⇒ Agc
constructor
A new instance of Agc.
- #register(obj) ⇒ Object
Constructor Details
#initialize ⇒ Agc
Returns a new instance of Agc.
52 53 54 |
# File 'lib/upl/inter.rb', line 52 def initialize @id_objects = {} end |
Class Method Details
.instance ⇒ Object
56 57 58 |
# File 'lib/upl/inter.rb', line 56 def self.instance @instance ||= new end |