ruby-changes:20651
From: naruse <ko1@a...>
Date: Wed, 27 Jul 2011 14:21:42 +0900 (JST)
Subject: [ruby-changes:20651] naruse:r32699 (trunk): Use ::Syck explicitly.
naruse 2011-07-27 14:21:33 +0900 (Wed, 27 Jul 2011) New Revision: 32699 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32699 Log: Use ::Syck explicitly. lib/rubygems/requirement.rb defines YAML::Syck. So explicitly specify the top level one. Modified files: trunk/test/psych/test_engine_manager.rb Index: test/psych/test_engine_manager.rb =================================================================== --- test/psych/test_engine_manager.rb (revision 32698) +++ test/psych/test_engine_manager.rb (revision 32699) @@ -21,7 +21,7 @@ def test_set_syck YAML::ENGINE.yamler = 'syck' - assert_equal Syck, YAML + assert_equal ::Syck, YAML assert_equal 'syck', YAML::ENGINE.yamler end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/