1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/irb
st0012 b7622d792d [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
2022-10-24 13:36:57 +00:00
..
cmd [ruby/irb] Centralize coloring control (https://github.com/ruby/irb/pull/374) 2022-06-28 22:30:42 +09:00
ext [ruby/irb] Remove unnecessary Thread presence check 2022-10-03 07:00:53 +09:00
lc [ruby/irb] Remove unused error 2022-10-03 07:00:54 +09:00
.document
color.rb [ruby/irb] Assert lvars_code doesn't include \n 2022-10-18 06:03:23 +00:00
color_printer.rb [ruby/irb] shortcut colorize_code to speedup pretty_print 2022-08-04 08:37:03 +09:00
completion.rb [ruby/irb] Sort constant completion's candidates 2022-10-08 03:17:42 +09:00
context.rb [ruby/irb] Always use local variables in current context to parse code (https://github.com/ruby/irb/pull/397) 2022-10-18 05:44:07 +00:00
easter-egg.rb
extend-command.rb [ruby/irb] Update remark of self.install_extend_commands. 2022-10-05 19:15:28 +09:00
frame.rb
help.rb
init.rb [ruby/irb] Support --noscript option to not use first non-option argument as script 2022-09-17 02:25:26 +09:00
input-method.rb [ruby/irb] Move require out of repeated execution path 2022-10-24 13:36:57 +00:00
inspector.rb [ruby/irb] Centralize coloring control (https://github.com/ruby/irb/pull/374) 2022-06-28 22:30:42 +09:00
irb.gemspec [ruby/irb] Added aycabta to authors 2022-10-05 15:15:33 +09:00
locale.rb
magic-file.rb
notifier.rb
output-method.rb
ruby-lex.rb [ruby/irb] Always use local variables in current context to parse code (https://github.com/ruby/irb/pull/397) 2022-10-18 05:44:07 +00:00
ruby_logo.aa
src_encoding.rb
version.rb [ruby/irb] Bump version to 1.4.2 2022-10-05 15:25:02 +09:00
workspace.rb [ruby/irb] Centralize coloring control (https://github.com/ruby/irb/pull/374) 2022-06-28 22:30:42 +09:00
ws-for-case-2.rb
xmp.rb