1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/psych/lib/psych.rb: remove autoload from psych

* ext/psych/lib/psych/json.rb: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tenderlove 2011-11-21 19:47:09 +00:00
parent 19bca2e6b2
commit daeaa65f08
3 changed files with 8 additions and 9 deletions

View file

@ -1,3 +1,8 @@
Tue Nov 22 04:46:22 2011 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych.rb: remove autoload from psych
* ext/psych/lib/psych/json.rb: ditto
Tue Nov 22 00:44:59 2011 Tanaka Akira <akr@fsij.org> Tue Nov 22 00:44:59 2011 Tanaka Akira <akr@fsij.org>
* test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is * test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is

View file

@ -10,7 +10,9 @@ require 'psych/set'
require 'psych/coder' require 'psych/coder'
require 'psych/core_ext' require 'psych/core_ext'
require 'psych/deprecated' require 'psych/deprecated'
require 'psych/json' require 'psych/stream'
require 'psych/json/tree_builder'
require 'psych/json/stream'
### ###
# = Overview # = Overview
@ -101,8 +103,6 @@ module Psych
class BadAlias < Exception class BadAlias < Exception
end end
autoload :Stream, 'psych/stream'
### ###
# Load +yaml+ in to a Ruby data structure. If multiple documents are # Load +yaml+ in to a Ruby data structure. If multiple documents are
# provided, the object contained in the first document will be returned. # provided, the object contained in the first document will be returned.

View file

@ -1,6 +0,0 @@
module Psych
module JSON
autoload :TreeBuilder, 'psych/json/tree_builder'
autoload :Stream, 'psych/json/stream'
end
end