summaryrefslogtreecommitdiff
path: root/lib/irb.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.rb
parenta388e2554c9461e15adfd8bc2efa7da5716080f8 (diff)
[ruby/irb] Prefer require_relative to load the files in this library
https://github.com/ruby/irb/commit/0ac3bc7296
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index f0bbb3c..ed2b336 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -11,17 +11,17 @@
#
require "ripper"
-require "irb/init"
-require "irb/context"
-require "irb/extend-command"
+require_relative "irb/init"
+require_relative "irb/context"
+require_relative "irb/extend-command"
-require "irb/ruby-lex"
-require "irb/input-method"
-require "irb/locale"
-require "irb/color"
+require_relative "irb/ruby-lex"
+require_relative "irb/input-method"
+require_relative "irb/locale"
+require_relative "irb/color"
-require "irb/version"
-require "irb/easter-egg"
+require_relative "irb/version"
+require_relative "irb/easter-egg"
# IRB stands for "interactive Ruby" and is a tool to interactively execute Ruby
# expressions read from the standard input.