summaryrefslogtreecommitdiff
path: root/lib/drb
diff options
context:
space:
mode:
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