diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-10-06 11:51:33 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-10-24 08:49:14 +0900 |
commit | d04d6bbc6cf14a4e3ca292095a00c1956e63d9fb (patch) | |
tree | e01ca04aea30848179706563c4165f6f963d2b2c /ext/psych/lib/psych/handlers | |
parent | 48cd633094e5e57d1120c5d81afdbeb2290837b3 (diff) |
[ruby/psych] Prefer `require_relative` for internal requires
https://github.com/ruby/psych/commit/a0f55ee85a
Diffstat (limited to 'ext/psych/lib/psych/handlers')
-rw-r--r-- | ext/psych/lib/psych/handlers/document_stream.rb | 2 | ||||
-rw-r--r-- | ext/psych/lib/psych/handlers/recorder.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/psych/lib/psych/handlers/document_stream.rb b/ext/psych/lib/psych/handlers/document_stream.rb index 67da794093..b77115d074 100644 --- a/ext/psych/lib/psych/handlers/document_stream.rb +++ b/ext/psych/lib/psych/handlers/document_stream.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -require 'psych/tree_builder' +require_relative '../tree_builder' module Psych module Handlers diff --git a/ext/psych/lib/psych/handlers/recorder.rb b/ext/psych/lib/psych/handlers/recorder.rb index a8fc7b1144..c98724cb76 100644 --- a/ext/psych/lib/psych/handlers/recorder.rb +++ b/ext/psych/lib/psych/handlers/recorder.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -require 'psych/handler' +require_relative '../handler' module Psych module Handlers |