diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-05 04:12:14 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-05 04:12:14 +0000 |
commit | 10c9ed249320165a4a8ec2f70cade2f1c90f2bcd (patch) | |
tree | ab949ca98b56dabeaef3f450ae509f719aea0ef9 /test | |
parent | f1c86c1bb22e7b999449cee398e0e804f21ea18f (diff) | |
download | ruby-10c9ed249320165a4a8ec2f70cade2f1c90f2bcd.tar.gz |
* ext/psych/lib/psych/core_ext.rb: remove before alias.
* ext/syck/lib/syck.rb: don't warn called by itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/gemutilities.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/rubygems/gemutilities.rb b/test/rubygems/gemutilities.rb index 965d898abc..bb94750d5e 100644 --- a/test/rubygems/gemutilities.rb +++ b/test/rubygems/gemutilities.rb @@ -138,24 +138,9 @@ class RubyGemTestCase < MiniTest::Unit::TestCase @pre_uninstall_hook_arg = uninstaller end - Object.class_eval %q{ - alias tmp_to_yaml to_yaml - def to_yaml( opts = {} ) - YAML::quick_emit( self, opts ) do |out| - out.map( taguri, to_yaml_style ) do |map| - to_yaml_properties.each do |m| - map.add( m[1..-1], instance_variable_get( m ) ) - end - end - end - end - } end def teardown - Object.class_eval %q{ - alias to_yaml tmp_to_yaml - } Gem::ConfigMap[:BASERUBY] = @orig_BASERUBY Gem::ConfigMap[:arch] = @orig_arch |