summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/core_ext.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/lib/psych/core_ext.rb')
-rw-r--r--ext/psych/lib/psych/core_ext.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/ext/psych/lib/psych/core_ext.rb b/ext/psych/lib/psych/core_ext.rb
index 4a04c2d128..9c8134da7e 100644
--- a/ext/psych/lib/psych/core_ext.rb
+++ b/ext/psych/lib/psych/core_ext.rb
@@ -31,12 +31,5 @@ class Module
end
if defined?(::IRB)
-module Kernel
- def psych_y *objects
- puts Psych.dump_stream(*objects)
- end
- remove_method :y rescue nil
- alias y psych_y
- private :y
-end
+ require 'psych/y'
end