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/irb/completion.rb | |
parent | acdb8933384da8fce1e8d8a96946eacfaa8897e2 (diff) |
Separate `send` into `public_send` and `__send__`
Diffstat (limited to 'lib/irb/completion.rb')
-rw-r--r-- | lib/irb/completion.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index c9328e5c5a..6d82139aeb 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -268,7 +268,7 @@ module IRB PerfectMatchedProc = ->(matched, bind: IRB.conf[:MAIN_CONTEXT].workspace.binding) { RDocRIDriver ||= RDoc::RI::Driver.new if matched =~ /\A(?:::)?RubyVM/ and not ENV['RUBY_YES_I_AM_NOT_A_NORMAL_USER'] - IRB.send(:easter_egg) + IRB.__send__(:easter_egg) return end namespace = retrieve_completion_data(matched, bind: bind, doc_namespace: true) |