summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-04 14:43:08 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-04 14:43:08 +0000
commit7a730fe143fb452b3e466b12a66fd1a702416674 (patch)
tree645258d9ec9c042fe7ca5d8c9fe84b2f67e94fc3 /ext
parentb501eda42f5ca7aa277e337d3cea933a0220d2af (diff)
merge revision(s) 39286,39287:
* ext/psych/lib/psych/y.rb: Document Kernel#y by Adam Stankiewicz [Github tenderlove/psych#118] [Github tenderlove/psych#127] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/lib/psych/y.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/y.rb b/ext/psych/lib/psych/y.rb
index f20d2e2a66..d0e049d4e5 100644
--- a/ext/psych/lib/psych/y.rb
+++ b/ext/psych/lib/psych/y.rb
@@ -1,4 +1,6 @@
module Kernel
+ ###
+ # An alias for Psych.dump_stream meant to be used with IRB.
def y *objects
puts Psych.dump_stream(*objects)
end