From 819d4c1bb6815a0e56c0ae1cc4a492aeb6e656b4 Mon Sep 17 00:00:00 2001 From: robert Date: Sun, 4 Jun 2017 22:28:25 +0100 Subject: [PATCH] fix warning about splat --- lib/pry/forwardable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/forwardable.rb b/lib/pry/forwardable.rb index 71cafb9f..bc432842 100644 --- a/lib/pry/forwardable.rb +++ b/lib/pry/forwardable.rb @@ -17,7 +17,7 @@ class Pry instance_variable_get(target).__send__(private_delegate, *a, &b) end end - class_eval { private *private_delegates } + class_eval { private(*private_delegates) } end end end