Fix :nodoc: definition. [ruby-dev:40949]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f2467cd06a
commit
e707e05fe8
@ -204,12 +204,10 @@ class Delegator < BasicObject
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# :nodoc:
|
def initialize_clone(obj) # :nodoc:
|
||||||
def initialize_clone(obj)
|
|
||||||
self.__setobj__(obj.__getobj__.clone)
|
self.__setobj__(obj.__getobj__.clone)
|
||||||
end
|
end
|
||||||
# :nodoc:
|
def initialize_dup(obj) # :nodoc:
|
||||||
def initialize_dup(obj)
|
|
||||||
self.__setobj__(obj.__getobj__.dup)
|
self.__setobj__(obj.__getobj__.dup)
|
||||||
end
|
end
|
||||||
private :initialize_clone, :initialize_dup
|
private :initialize_clone, :initialize_dup
|
||||||
|
@ -15,8 +15,7 @@ class Mutex
|
|||||||
end
|
end
|
||||||
|
|
||||||
class Thread
|
class Thread
|
||||||
# :nodoc:
|
MUTEX_FOR_THREAD_EXCLUSIVE = Mutex.new # :nodoc:
|
||||||
MUTEX_FOR_THREAD_EXCLUSIVE = Mutex.new
|
|
||||||
|
|
||||||
# call-seq:
|
# call-seq:
|
||||||
# Thread.exclusive { block } => obj
|
# Thread.exclusive { block } => obj
|
||||||
|
Loading…
x
Reference in New Issue
Block a user