summaryrefslogtreecommitdiff
path: root/lib/psych/json
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psych/json')
-rw-r--r--lib/psych/json/stream.rb4
-rw-r--r--lib/psych/json/tree_builder.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/psych/json/stream.rb b/lib/psych/json/stream.rb
index 2ebd3d7..24dd4b9 100644
--- a/lib/psych/json/stream.rb
+++ b/lib/psych/json/stream.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require 'psych/json/ruby_events'
-require 'psych/json/yaml_events'
+require_relative 'ruby_events'
+require_relative 'yaml_events'
module Psych
module JSON
diff --git a/lib/psych/json/tree_builder.rb b/lib/psych/json/tree_builder.rb
index 5c2ee8c..9a45f6b 100644
--- a/lib/psych/json/tree_builder.rb
+++ b/lib/psych/json/tree_builder.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
-require 'psych/json/yaml_events'
+require_relative 'yaml_events'
module Psych
module JSON