[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
This commit is contained in:
parent
d4b7e967b6
commit
d6b2b5bd47
@ -1,5 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
require 'pp'
|
||||
require 'irb/color'
|
||||
|
||||
module IRB
|
||||
class ColorPrinter < ::PP
|
||||
|
Loading…
x
Reference in New Issue
Block a user