summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-13 00:27:44 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-13 00:27:44 +0000
commit5339bbe2dc3130f7e7534b0d72dd1f1d42b7f8d5 (patch)
tree5c7cccc5e6d4f1bbeeab57d0e23c90a688a9211d /ext/psych/lib/psych
parent0acaab201a821bc6591598775ffc6b6c4980ba9d (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/trunk@32960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych/lib/psych')
-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