summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-13 00:29:56 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-13 00:29:56 +0000
commit6e5aa36709e295e538ba542612a3d956e97e63fd (patch)
tree928e0260cd15dc0d817c4c6f5c9ec517dcdceb0b /ext
parentc8a403ebc47759d2a18ac381e1af93c48248ac58 (diff)
* 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/branches/ruby_1_9_3@32961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/lib/psych/core_ext.rb1
1 files changed, 1 insertions, 0 deletions
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