aboutsummaryrefslogtreecommitdiffstats
path: root/lib/thwait.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-27 12:10:21 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-27 12:10:21 +0000
commit3e8515bf36d9e02e912e326797329c069a56d3bd (patch)
tree835b43d67cfa527be8a11ea50a1f6c129be0c2ea /lib/thwait.rb
parentef7b9bf382a8e6efa472e197b8b2f8dab48cba43 (diff)
downloadruby-3e8515bf36d9e02e912e326797329c069a56d3bd.tar.gz
* lib/drb/drb.rb: use attr_reader instead of Module#attr.
[Feature #10172][ruby-core:64582] * lib/irb/ruby-token.rb: ditto. * lib/net/telnet.rb: ditto. * lib/rdoc/ruby_token.rb: ditto. * lib/thwait.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thwait.rb')
-rw-r--r--lib/thwait.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thwait.rb b/lib/thwait.rb
index 60f3911887..d9750a406b 100644
--- a/lib/thwait.rb
+++ b/lib/thwait.rb
@@ -55,7 +55,7 @@ class ThreadsWait
end
# Returns the array of threads that have not terminated yet.
- attr :threads
+ attr_reader :threads
#
# Returns +true+ if there are no threads in the pool still running.