summaryrefslogtreecommitdiff
path: root/lib/psych/visitors.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-10-24 08:49:11 +0900
committerGitHub <noreply@github.com>2021-10-24 08:49:11 +0900
commite8d262fa108a1605443d7426c185452b538775be (patch)
tree93d11922d1c9198feaf73cf3fd0644f4edca2cf8 /lib/psych/visitors.rb
parentd78277cac0704be0693f9d6cff17c730c03beb1a (diff)
parenta0f55ee85a78267566cd9cc28e09ae8d465bb294 (diff)
downloadpsych-e8d262fa108a1605443d7426c185452b538775be.tar.gz
Merge pull request #522 from deivid-rodriguez/prefer_require_relative_for_internal_requires
Prefer `require_relative` for internal requires
Diffstat (limited to 'lib/psych/visitors.rb')
-rw-r--r--lib/psych/visitors.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/psych/visitors.rb b/lib/psych/visitors.rb
index e2b084d..508290d 100644
--- a/lib/psych/visitors.rb
+++ b/lib/psych/visitors.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-require 'psych/visitors/visitor'
-require 'psych/visitors/to_ruby'
-require 'psych/visitors/emitter'
-require 'psych/visitors/yaml_tree'
-require 'psych/visitors/json_tree'
-require 'psych/visitors/depth_first'
+require_relative 'visitors/visitor'
+require_relative 'visitors/to_ruby'
+require_relative 'visitors/emitter'
+require_relative 'visitors/yaml_tree'
+require_relative 'visitors/json_tree'
+require_relative 'visitors/depth_first'