summaryrefslogtreecommitdiff
path: root/lib/thwait.rb
diff options
context:
space:
mode:
authorgsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-20 16:05:47 +0000
committergsinclair <gsinclair@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-20 16:05:47 +0000
commit1c0641991146d3b0716b583f14aef571696463f0 (patch)
tree75907e5e9c2c0c97fea4032c6e447d974f9cf178 /lib/thwait.rb
parent2f2a51a47b5998077e8d148850d5ac32b409f090 (diff)
Modified some RDoc formatting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thwait.rb')
-rw-r--r--lib/thwait.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thwait.rb b/lib/thwait.rb
index d9b134d..4512209 100644
--- a/lib/thwait.rb
+++ b/lib/thwait.rb
@@ -87,14 +87,14 @@ class ThreadsWait
attr :threads
#
- # Returns true if there are no threads to be synchronized.
+ # Returns +true+ if there are no threads to be synchronized.
#
def empty?
@threads.empty?
end
#
- # Returns true if any thread has terminated.
+ # Returns +true+ if any thread has terminated.
#
def finished?
!@wait_queue.empty?