mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a509e67c5a
commit
6fc752bf7d
11 changed files with 111 additions and 78 deletions
|
|
@ -32,7 +32,7 @@
|
|||
# finalize all dependants connected by dependency R_*(obj, dependtant).
|
||||
# finalize_by_dependant(dependant, method = :finalize)
|
||||
# finalize the dependant connected by dependency R_method(*, dependtant).
|
||||
# fainalize_all_by_dependant(dependant)
|
||||
# finalize_all_by_dependant(dependant)
|
||||
# finalize all dependants connected by dependency R_*(*, dependant).
|
||||
# finalize_all
|
||||
# finalize all dependency registered to the Finalizer.
|
||||
|
|
@ -138,7 +138,7 @@ module Finalizer
|
|||
end
|
||||
|
||||
# finalize all dependants connected by dependency R_*(*, dependtant)
|
||||
def fainalize_all_by_dependant(dependant)
|
||||
def finalize_all_by_dependant(dependant)
|
||||
for id in @dependency.keys
|
||||
finalize_all_dependency(id, dependant)
|
||||
end
|
||||
|
|
@ -190,7 +190,7 @@ module Finalizer
|
|||
module_function :finalize_dependency
|
||||
module_function :finalize_all_dependency
|
||||
module_function :finalize_by_dependant
|
||||
module_function :fainalize_all_by_dependant
|
||||
module_function :finalize_all_by_dependant
|
||||
module_function :finalize_all
|
||||
|
||||
module_function :safe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue