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 7d211c93af [ruby/irb] Color.colorable? needs to consider the condition when irb is not loaded
ruby/debug uses `irb/color` selectively:
0ac22406bb/lib/debug/color.rb (L4)

And in that case, `IRB.conf` won't be defined. So Color.colorable? needs
to consider that.

This also fixes the Ruby trunk CI.

https://github.com/ruby/irb/commit/b2cd07e795
2022-06-28 22:57:17 +09:00
..
cmd [ruby/irb] Centralize coloring control (https://github.com/ruby/irb/pull/374) 2022-06-28 22:30:42 +09:00
ext
lc
.document
color.rb [ruby/irb] Color.colorable? needs to consider the condition when irb is not loaded 2022-06-28 22:57:17 +09:00
color_printer.rb
completion.rb
context.rb [ruby/irb] Centralize coloring control (https://github.com/ruby/irb/pull/374) 2022-06-28 22:30:42 +09:00
easter-egg.rb
extend-command.rb
frame.rb
help.rb
init.rb
input-method.rb [ruby/irb] Ensure stdout is a TTY before calling winsize 2022-06-26 14:40:48 +09: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
locale.rb
magic-file.rb
notifier.rb
output-method.rb
ruby-lex.rb
ruby_logo.aa
src_encoding.rb
version.rb
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