diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-27 12:10:21 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-27 12:10:21 +0000 |
commit | 3e8515bf36d9e02e912e326797329c069a56d3bd (patch) | |
tree | 835b43d67cfa527be8a11ea50a1f6c129be0c2ea /lib/drb/drb.rb | |
parent | ef7b9bf382a8e6efa472e197b8b2f8dab48cba43 (diff) | |
download | ruby-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/drb/drb.rb')
-rw-r--r-- | lib/drb/drb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index 25cf7e9c07..26f39b789f 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -995,7 +995,7 @@ module DRb def initialize(option) @option = option.to_s end - attr :option + attr_reader :option def to_s; @option; end def ==(other) |