diff --git a/lib/pry-remote.rb b/lib/pry-remote.rb index a6cf505..f44a771 100644 --- a/lib/pry-remote.rb +++ b/lib/pry-remote.rb @@ -45,7 +45,7 @@ def initialize(obj) def completion_proc=(val) if @obj.respond_to? :completion_proc= - @obj.completion_proc = val + @obj.completion_proc = proc { |*args, &block| val.call(*args, &block) } end end