summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/thwait.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thwait.rb b/lib/thwait.rb
index d9b134da953..45122096048 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?