From 5339bbe2dc3130f7e7534b0d72dd1f1d42b7f8d5 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Sat, 13 Aug 2011 00:27:44 +0000 Subject: * ext/psych/lib/psych/core_ext.rb: Make Kernel#y private. [ruby-core:38913] * test/psych/test_yaml.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/lib/psych/core_ext.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/psych/lib') diff --git a/ext/psych/lib/psych/core_ext.rb b/ext/psych/lib/psych/core_ext.rb index be26b2f449..2ad75e1661 100644 --- a/ext/psych/lib/psych/core_ext.rb +++ b/ext/psych/lib/psych/core_ext.rb @@ -36,4 +36,5 @@ module Kernel end remove_method :y rescue nil alias y psych_y + private :y end -- cgit v1.2.3