summaryrefslogtreecommitdiff
path: root/lib/net/https.rb
diff options
context:
space:
mode:
authorst0012 <stan001212@gmail.com>2022-10-18 10:08:24 +0100
committergit <svn-admin@ruby-lang.org>2022-10-24 13:36:57 +0000
commitb7622d792dde7922692de6fcf43bd87cd7faa97b (patch)
tree8df5291807efb02c1dedb5ae8dfc5e716e6c198b /lib/net/https.rb
parentd377cc4530c1edeb4281a6a5a7ee2a4d13b1b561 (diff)
[ruby/irb] Move require out of repeated execution path
SHOW_DOC_DIALOG will be called repeatedly whenever the corresponding key is pressed, but we only need to require rdoc once. So ideally the require can be put outside of the proc. And because when rdoc is not available the entire proc will be nonfunctional, we can stop registering the SHOW_DOC_DIALOG if we failed to require rdoc. https://github.com/ruby/irb/commit/b1278b7320
Diffstat (limited to 'lib/net/https.rb')
0 files changed, 0 insertions, 0 deletions