diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-10-27 13:42:52 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-10-27 16:12:45 +0900 |
commit | 3198e7abd70bd2af977f2bb6c967e9df8f91adb0 (patch) | |
tree | 12265cda813be994c0aaa3a63c66a06f15e91354 /lib/optparse.rb | |
parent | acdb8933384da8fce1e8d8a96946eacfaa8897e2 (diff) |
Separate `send` into `public_send` and `__send__`
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r-- | lib/optparse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb index 82582f61cb..bc0e821460 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -1749,7 +1749,7 @@ XXX # def visit(id, *args, &block) @stack.reverse_each do |el| - el.send(id, *args, &block) + el.__send__(id, *args, &block) end nil end |