From 10c9ed249320165a4a8ec2f70cade2f1c90f2bcd Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 5 Apr 2010 04:12:14 +0000 Subject: * 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 --- test/rubygems/gemutilities.rb | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'test/rubygems') 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 -- cgit v1.2.3