From 816c7900fd084509583953d7b2739e8412b0834d Mon Sep 17 00:00:00 2001 From: tenderlove Date: Mon, 21 Feb 2011 01:49:41 +0000 Subject: [PATCH] moving autoload to require so that the correct files are required git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/lib/psych.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index ba4a683974..565b811deb 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/lib/psych.rb @@ -9,6 +9,7 @@ require 'psych/set' require 'psych/coder' require 'psych/core_ext' require 'psych/deprecated' +require 'psych/json' ### # = Overview @@ -97,7 +98,6 @@ module Psych end autoload :Stream, 'psych/stream' - autoload :JSON, 'psych/json' ### # Load +yaml+ in to a Ruby data structure. If multiple documents are