Project

General

Profile

« Previous | Next » 

Revision d6b2b5bd

Added by k0kubun (Takashi Kokubun) over 4 years ago

[ruby/irb] Add missing require

This is useful if you want to use IRB::ColorPrinter as a library like:

begin
  require 'irb/color_printer'
  IRB::ColorPrinter.pp(obj)
rescue LoadError
  pp(obj)
end

https://github.com/ruby/irb/commit/f8461691c7