mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
parent
2bcfdad006
commit
fb472ca7ad
3 changed files with 29 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ module DRb
|
|||
end
|
||||
|
||||
# Routes method calls to the referenced remote object.
|
||||
def method_missing(msg_id, *a, &b)
|
||||
ruby2_keywords def method_missing(msg_id, *a, &b)
|
||||
if DRb.here?(@uri)
|
||||
obj = DRb.to_obj(@ref)
|
||||
DRb.current_server.check_insecure_method(obj, msg_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue