summaryrefslogtreecommitdiff
path: root/lib/finalize.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 22:00:31 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 22:00:31 +0000
commit91edcb053b3dd0a86ad7cec0a652d084d6e7dd46 (patch)
tree3ebfb81d7fdc03904604b2c7148180d7c6b02cec /lib/finalize.rb
parent4d2d744487d6f2ca97d034c7b7d5c2a4836fc5db (diff)
downloadruby-91edcb053b3dd0a86ad7cec0a652d084d6e7dd46.tar.gz
Merge RDoc changes from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/finalize.rb')
-rw-r--r--lib/finalize.rb39
1 files changed, 23 insertions, 16 deletions
diff --git a/lib/finalize.rb b/lib/finalize.rb
index ed1ccc830f..9b6b302cac 100644
--- a/lib/finalize.rb
+++ b/lib/finalize.rb
@@ -1,44 +1,51 @@
-#
+#--
# finalizer.rb -
# $Release Version: 0.3$
# $Revision: 1.4 $
# $Date: 1998/02/27 05:34:33 $
# by Keiju ISHITSUKA
+#++
#
-# --
-#
-# Usage:
+# Usage:
#
+# add dependency R_method(obj, dependant)
# add(obj, dependant, method = :finalize, *opt)
# add_dependency(obj, dependant, method = :finalize, *opt)
-# add dependency R_method(obj, dependant)
#
+# delete dependency R_method(obj, dependant)
# delete(obj_or_id, dependant, method = :finalize)
# delete_dependency(obj_or_id, dependant, method = :finalize)
-# delete dependency R_method(obj, dependant)
+#
+# delete dependency R_*(obj, dependant)
# delete_all_dependency(obj_or_id, dependant)
-# delete dependency R_*(obj, dependant)
+#
+# delete dependency R_method(*, dependant)
# delete_by_dependant(dependant, method = :finalize)
-# delete dependency R_method(*, dependant)
+#
+# delete dependency R_*(*, dependant)
# delete_all_by_dependant(dependant)
-# delete dependency R_*(*, dependant)
+#
+# delete all dependency R_*(*, *)
# delete_all
-# delete all dependency R_*(*, *)
#
+# finalize the dependant connected by dependency R_method(obj, dependtant).
# finalize(obj_or_id, dependant, method = :finalize)
# finalize_dependency(obj_or_id, dependant, method = :finalize)
-# finalize the dependant connected by dependency R_method(obj, dependtant).
+#
+# finalize all dependants connected by dependency R_*(obj, dependtant).
# finalize_all_dependency(obj_or_id, dependant)
-# finalize all dependants connected by dependency R_*(obj, dependtant).
+#
+# finalize the dependant connected by dependency R_method(*, dependtant).
# finalize_by_dependant(dependant, method = :finalize)
-# finalize the dependant connected by dependency R_method(*, dependtant).
+#
+# finalize all dependants connected by dependency R_*(*, dependant).
# finalize_all_by_dependant(dependant)
-# finalize all dependants connected by dependency R_*(*, dependant).
+#
+# finalize all dependency registered to the Finalizer.
# finalize_all
-# finalize all dependency registered to the Finalizer.
#
+# stop invoking Finalizer on GC.
# safe{..}
-# stop invoking Finalizer on GC.
#
module Finalizer