aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/xmp.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-08-12 11:20:35 +0900
committeraycabta <aycabta@gmail.com>2020-08-18 14:38:01 +0900
commitd32229e33872d3c64d21dd016ec85a6b3e605890 (patch)
tree050315006851bae0546a2b2a757d97b8159813c5 /lib/irb/xmp.rb
parenta388e2554c9461e15adfd8bc2efa7da5716080f8 (diff)
downloadruby-d32229e33872d3c64d21dd016ec85a6b3e605890.tar.gz
[ruby/irb] Prefer require_relative to load the files in this library
https://github.com/ruby/irb/commit/0ac3bc7296
Diffstat (limited to 'lib/irb/xmp.rb')
-rw-r--r--lib/irb/xmp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/xmp.rb b/lib/irb/xmp.rb
index 60cf3b4e4d..88cbd88525 100644
--- a/lib/irb/xmp.rb
+++ b/lib/irb/xmp.rb
@@ -10,7 +10,7 @@
#
#
-require "irb"
+require_relative "../irb"
require_relative "frame"
# An example printer for irb.