summaryrefslogtreecommitdiff
path: root/lib/thwait.rb
diff options
context:
space:
mode:
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 d9b134da95..4512209604 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?