summaryrefslogtreecommitdiff
path: root/lib/drb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-19 09:14:55 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-19 09:14:55 +0000
commitcadfea8999e723b672c69facf8d8c5a7886e3760 (patch)
tree180d1e150552218018708afa5b247c85949d55bc /lib/drb
parent70a7a7271d22fefdcdf8bda832881ec9ce92569d (diff)
downloadruby-cadfea8999e723b672c69facf8d8c5a7886e3760.tar.gz
(DRbObject#respond_to?) take two arguments. [ruby-dev:25722]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb')
-rw-r--r--lib/drb/drb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb
index e7ef36a567..8eec4a7f1c 100644
--- a/lib/drb/drb.rb
+++ b/lib/drb/drb.rb
@@ -1046,14 +1046,14 @@ module DRb
undef :to_s
undef :to_a if respond_to?(:to_a)
- def respond_to?(msg_id)
+ def respond_to?(msg_id, priv=false)
case msg_id
when :_dump
true
when :marshal_dump
false
else
- method_missing(:respond_to?, msg_id)
+ method_missing(:respond_to?, msg_id, priv)
end
end