summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/nodes.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-10-06 11:51:33 +0200
committergit <svn-admin@ruby-lang.org>2021-10-24 08:49:14 +0900
commitd04d6bbc6cf14a4e3ca292095a00c1956e63d9fb (patch)
treee01ca04aea30848179706563c4165f6f963d2b2c /ext/psych/lib/psych/nodes.rb
parent48cd633094e5e57d1120c5d81afdbeb2290837b3 (diff)
[ruby/psych] Prefer `require_relative` for internal requires
https://github.com/ruby/psych/commit/a0f55ee85a
Diffstat (limited to 'ext/psych/lib/psych/nodes.rb')
-rw-r--r--ext/psych/lib/psych/nodes.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/psych/lib/psych/nodes.rb b/ext/psych/lib/psych/nodes.rb
index 5842c2e3e5..2fa52e0055 100644
--- a/ext/psych/lib/psych/nodes.rb
+++ b/ext/psych/lib/psych/nodes.rb
@@ -1,11 +1,11 @@
# frozen_string_literal: true
-require 'psych/nodes/node'
-require 'psych/nodes/stream'
-require 'psych/nodes/document'
-require 'psych/nodes/sequence'
-require 'psych/nodes/scalar'
-require 'psych/nodes/mapping'
-require 'psych/nodes/alias'
+require_relative 'nodes/node'
+require_relative 'nodes/stream'
+require_relative 'nodes/document'
+require_relative 'nodes/sequence'
+require_relative 'nodes/scalar'
+require_relative 'nodes/mapping'
+require_relative 'nodes/alias'
module Psych
###