From 3198e7abd70bd2af977f2bb6c967e9df8f91adb0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 27 Oct 2020 13:42:52 +0900 Subject: Separate `send` into `public_send` and `__send__` --- lib/rdoc/ri/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/ri/driver.rb') diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 7f70904ad9..d5af47bf40 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -1228,7 +1228,7 @@ or the PAGER environment variable. # +cache+ indicate if it is a class or instance method. def load_method store, cache, klass, type, name - methods = store.send(cache)[klass] + methods = store.public_send(cache)[klass] return unless methods -- cgit v1.2.3