aboutsummaryrefslogtreecommitdiffstats
path: root/lib/yaml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yaml.rb')
-rw-r--r--lib/yaml.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/yaml.rb b/lib/yaml.rb
index 38463404bd..6837cc239d 100644
--- a/lib/yaml.rb
+++ b/lib/yaml.rb
@@ -400,7 +400,8 @@ module Kernel
# ryan:: Either way, I certainly will have a pony parade.
#
- def y( *x )
+ def y( o, *x )
+ x.unshift o
puts( if x.length == 1
YAML::dump( *x )
else