summaryrefslogtreecommitdiff
path: root/lib/psych.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psych.rb')
-rw-r--r--lib/psych.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/psych.rb b/lib/psych.rb
index 497f595..ebf2b35 100644
--- a/lib/psych.rb
+++ b/lib/psych.rb
@@ -10,7 +10,9 @@ require 'psych/set'
require 'psych/coder'
require 'psych/core_ext'
require 'psych/deprecated'
-require 'psych/json'
+require 'psych/stream'
+require 'psych/json/tree_builder'
+require 'psych/json/stream'
###
# = Overview
@@ -101,8 +103,6 @@ module Psych
class BadAlias < Exception
end
- autoload :Stream, 'psych/stream'
-
###
# Load +yaml+ in to a Ruby data structure. If multiple documents are
# provided, the object contained in the first document will be returned.