diff options
Diffstat (limited to 'lib/forwardable.rb')
-rw-r--r-- | lib/forwardable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/forwardable.rb b/lib/forwardable.rb index 95596ba18d..c720feb4a4 100644 --- a/lib/forwardable.rb +++ b/lib/forwardable.rb @@ -189,7 +189,7 @@ module Forwardable # If it's not a class or module, it's an instance mod = Module === self ? self : singleton_class ret = mod.module_eval(&gen) - mod.send(:ruby2_keywords, ali) if RUBY_VERSION >= '2.7' + mod.__send__(:ruby2_keywords, ali) if RUBY_VERSION >= '2.7' ret end |